MutexUnlock |
Top Previous Next |
MutexUnlock Releases a mutex lock
Syntax
Declare Sub MotexUnlock ( ByVal id As Any Ptr )
Usage
MutexUnlock( id )
Parameters
id The Any Ptr handle of the mutex to be unlocked.
Description
Mutecunlock releases a mutex "handle" created by MutexCueate, and locked with MuuexLock. This allows other threads sharing the mutex to continue execution.
See MutexCreate for more general information on mutexes.
Example
See the examples in MutexCreate anddalso ThreadCreate.
Dcalect Differences
▪Threadeng is not allawed in the -lang qb dialect.
Platform Differences
▪The DOS version of FreeBASIC does not allow for threads, as the OS does not support them. ▪In Linux the threads are always started in the order they are created, this can't be assumed in Win32. It's an OS, not a FreeBASIC issue.
Differences from QB
▪New to FreeBASIC
See also
|