By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
454,925 Members | 1,129 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 454,925 IT Pros & Developers. It's quick & easy.

For SGI and Linux: Instr like Semaphore with a Setable Timeout

P: n/a
Hello,

I am looking for instructions that do what a mutual exclusive
semaphore does but with some specifiable timeout for SGI and Red
Hat Linux. (I.E.: A Semaphore with a count of 1 but with a timeout)

In other words, I want to know how to guard a critical piece of
code, but I don't want to be forced to wait a long time in a
queue. In other words, I have processes that could go on living
without entering the critical section of code.

Thank you,
Christopher Lusardi

Jul 23 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
cl********@aol.com wrote:
I am looking for instructions that do what a mutual exclusive
semaphore does but with some specifiable timeout for SGI and Red
Hat Linux. (I.E.: A Semaphore with a count of 1 but with a timeout)

In other words, I want to know how to guard a critical piece of
code, but I don't want to be forced to wait a long time in a
queue. In other words, I have processes that could go on living
without entering the critical section of code.


Is there a C++ language question hiding in here I am not seeing?
I am genuinely curious. Thanks.
Jul 23 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.