AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Ayuda / WLanguage / Funciones WLanguage / Funciones estándar / Funciones de gestión de procesos / Hilos, semáforos, señales y 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
Versión mínima requerida
  • Versión 16
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 21/06/2023

Señalar un error o enviar una sugerencia | Ayuda local