PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
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.
Versions 18 and later
Universal Windows 10 App This function is now available in Windows Store apps mode.
New in version 18
Universal Windows 10 App This function is now available in Windows Store apps mode.
Universal Windows 10 App This function is now available in Windows Store apps mode.
Versions 21 and later
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
New in version 21
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
Syntax
MutexCreate(<Mutex Name> [, <Initial Status> [, <Options>]])
<Mutex Name>: Character string (with quotes)
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:
shareNoneThe mutex is specific to the application. If MutexDestroy is not called, the mutex is destroyed at the end of the application.
shareGlobalThe mutex is shared among all the applications found on the computer.
shareUser
(default value)
The mutex is shared among all the applications of the session of the user who runs the application.
Components
WINDEVWEBDEV - Server codeReports and Queries wd230vm.dll
Minimum required version
  • Version 16
This page is also available for…
Comments
Click [Add] to post a comment