|
|
|
|
|
SemaphoreEnd (Function) In french: SémaphoreFin Allows one or more threads to exit from the area protected by the semaphore. Reminder: Semaphores can be used to define a protected area of code that can only be executed by a specific number of threads.
Syntax
<Result> = SemaphoreEnd(<Semaphore name> [, <Number of exits>])
<Result>: Integer Number of threads still found in the protected section (without counting the ones that just exited the semaphore). <Semaphore name>: Character string Name of semaphore to use. <Number of exits>: Optional integer Number of simultaneous exits from the area (1 by default).
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|