Re: Semaphores in Delphi
- From: Locke <jlocke@xxxxxxx>
- Date: Tue, 06 May 2008 01:27:16 +0100
Rob Kennedy wrote:
Locke wrote:I'm trying to implement a simple semaphore to protect critical sections of code with the following procedures.
Then why don't you just use a critical section or a semaphore? Why invent your own?
Read about EnterCriticalSection and CreateSemaphore.
Thanks, EnterCriticalSection and LeaveCriticalSection do just what I'm looking for.
.
- References:
- Semaphores in Delphi
- From: Locke
- Re: Semaphores in Delphi
- From: Rob Kennedy
- Semaphores in Delphi
- Prev by Date: Re: Semaphores in Delphi
- Next by Date: Vista credential provider
- Previous by thread: Re: Semaphores in Delphi
- Next by thread: Vista credential provider
- Index(es):