ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / WLanguage functions / Standard functions / Process functions / Threads, semaphores, signals and mutex
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
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).
Component: wd300vm.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 09/20/2024

Send a report | Local help