Home » Community » Coffee corner » What is the best way to create a Semaphore with timeout?
Re: What is the best way to create a Semaphore with timeout? [message #52858 is a reply to message #52857] |
Tue, 17 December 2019 10:49   |
Tom1
Messages: 1303 Registered: March 2007
|
Ultimate Contributor |
|
|
Hi,
I took a look at Core and found that Semaphore is really just an abstraction of the OS semaphore.
Now the question is: Would it be possible to change Semaphore code in a way that adds support for timeout? Looking at the code reveals that Windows and Linux/Posix could support Wait(timeout) with minimal changes, but I'm not so sure about OSX.
Best regards,
Tom
|
|
|
 |
|
What is the best way to create a Semaphore with timeout?
By: Tom1 on Tue, 17 December 2019 09:49
|
 |
|
Re: What is the best way to create a Semaphore with timeout?
By: Tom1 on Tue, 17 December 2019 10:49
|
 |
|
Re: What is the best way to create a Semaphore with timeout?
By: Tom1 on Tue, 17 December 2019 11:53
|
 |
|
Re: What is the best way to create a Semaphore with timeout?
By: mirek on Thu, 19 December 2019 11:38
|
 |
|
Re: What is the best way to create a Semaphore with timeout?
By: Tom1 on Thu, 19 December 2019 12:59
|
 |
|
Re: What is the best way to create a Semaphore with timeout?
By: mirek on Thu, 19 December 2019 13:40
|
 |
|
Re: What is the best way to create a Semaphore with timeout?
By: Tom1 on Thu, 19 December 2019 14:38
|
 |
|
Re: What is the best way to create a Semaphore with timeout?
By: mirek on Thu, 19 December 2019 17:05
|
 |
|
Re: What is the best way to create a Semaphore with timeout?
By: Tom1 on Thu, 19 December 2019 21:44
|
 |
|
Re: What is the best way to create a Semaphore with timeout?
By: mirek on Wed, 22 January 2020 14:44
|
 |
|
Re: What is the best way to create a Semaphore with timeout?
By: Tom1 on Wed, 22 January 2020 14:48
|
Goto Forum:
Current Time: Sun Jun 08 00:38:47 CEST 2025
Total time taken to generate the page: 0.00930 seconds
|