<< Prev        Next >>

ID : 5161

GiveMutex

Function

To set the status of Mutex object to "Unlocked."

Syntax

GiveMutex MutexID

Guaranteed entry

MutexID
Designate the ID of Mutex object by integer type data.

Description

Set the designated Mutex object's status to "Unlocked."

Only the task which set to "Locked" by TakeMutex statement can set Mutex object to "Unlocked."

Attention

Example

Sub Main
	Dim n As Integer
	n = CreateMutex(S[10])
	TakeMutex n
	' Statements
	GiveMutex n
	DeleteMutex n
End Sub

ID : 5161

<< Prev        Next >>