MutexUnlock

Releases a mutex lock

Syntax
	KeyPgDeclareDeclare KeyPgSubSub MutexUnlock ( KeyPgByvalByVal id KeyPgAsAs KeyPgAnyAny KeyPgPtrPtr )

Usage
	MutexUnlock( id )

Parameters
	id
		The KeyPgAnyAny KeyPgPtrPtr handle of the mutex to be unlocked.

Description
	Mutexunlock releases a mutex "handle" created by KeyPgMutexCreateMutexCreate, and locked 
	with KeyPgMutexLockMutexLock.  This allows other threads sharing the mutex to continue 
	execution.

	See KeyPgMutexCreateMutexCreate for more general information on mutexes.

Example
	See the examples in KeyPgMutexCreateMutexCreate and also KeyPgThreadCreateThreadCreate.

Dialect Differences
	* Threading is not allowed in the CompilerOptlang-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
	* KeyPgMutexCreateMutexCreate
	* KeyPgMutexDestroyMutexDestroy
	* KeyPgMutexLockMutexLock
	* KeyPgThreadCreateThreadCreate
	* KeyPgThreadWaitThreadWait

