gmlAsyncMutex Class Reference

Detailed Description

Manage of a set of asynchronous call than cannot be executed concurently

Public Member Functions

constructor

Manage of a set of asynchronous call than cannot be executed concurently

lock callback

if an asynchronous call is already in progress, abort execution
and generate an error message.

System Message: WARNING/2 (www/documentation/tcl-scripts/class-gmlAsyncMutex.txt, line 27)

Definition list ends without a blank line; unexpected unindent.

otherwise, enter in the mutual exclusion area

unlock {err {}}

leave the mutual exclusion area, call the completion

check err

check if an error occured. If it is the cas, leave the mutex area
call completion, return true.

System Message: WARNING/2 (www/documentation/tcl-scripts/class-gmlAsyncMutex.txt, line 43)

Definition list ends without a blank line; unexpected unindent.

Returns false if no error occured.