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
Explicitly creates a mutex.
Reminder: A mutex (MUTual EXclusion) is a critical section that can be internal to an application or shared between 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 area.
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: wd300vm.dll
Minimum version required
  • Version 16
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 09/30/2024

Send a report | Local help