ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Standard functions / Process functions / Threads, semaphores, signals and mutex
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
Explicitly creates a mutex.
Reminder: A mutex (MUTual EXclusion) is a critical section that can be specific to an application or shared among several applications. A mutex is used to manage an exclusive access to a resource shared between several threads. For example, a mutex can be used to handle a shared memory zone.
Syntax
MutexCreate(<Mutex name> [, <Initial status> [, <Options>]])
<Mutex name>: Character string
Name of the mutex to create.
<Initial status>: Optional boolean
  • True if the mutex is occupied by the current thread,
  • False (default value) if the mutex is free.
<Options>: Optional integer
Mode for sharing the mutex:
shareGlobalThe mutex is shared among all the applications found on the computer.
shareNoneThe mutex is specific to the application. If MutexDestroy is not called, the mutex is destroyed at the end of the application.
shareUser
(default value)
The mutex is shared among all the applications of the session of the user who runs the application.
Component: wd290vm.dll
Minimum version required
  • Version 16
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 06/21/2023

Send a report | Local help