<< Prev        Next >>

ID : 5159

DeleteMutex

Function

To request the deletion of Mutex object.

Syntax

DeleteMutex MutexID

Guaranteed entry

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

Description

Request the deletion of Mutex object with the designated MutexID to the system.

If a registered reference in the designated Mutex object includes only own task, the object will be deleted.

If a registered reference in the designated Mutex object includes own task and more, reference of own task will be deleted.

Attention

Example

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

ID : 5159

<< Prev        Next >>