|
|
|
|
SemaphoreEnd (Function) In french: SémaphoreFin Allows one or more threads to exit from the area protected by the semaphore. Reminder: Semaphores are used to define a protected code section that can only be run by a specific number of threads. Syntax
<Result> = SemaphoreEnd(<Semaphore name> [, <Number of exits>])
<Result>: Integer Number of threads still found in the protected area (without counting the ones that just exited from 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…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|