<< Prev        Next >>

ID : 5162

ResetMutex

Function

To clear an error of Mutex object.

Syntax

ResetMutex MutexID

Guaranteed entry

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

Description

Clear an error of Mutex object.

Attention

Example

Sub Main
	Dim n As Integer
	n = CreateMutex(S[10])
	On Error GoTo Label1
	TakeMutex n
	On Error GoTo 0
	' Statements
	GiveMutex n
	DeleteMutex n
	Exit Sub
Label1:
	'Process for an error
	ResetMutex n
	Resume
End Sub

ID : 5162

<< Prev        Next >>