WiFi Framework C++ Edition

◆ Create() [3/3]

static CwclMutex * Create ( const tstring & Name,
bool & Exist )
static

Creates or opens a named mutex object.

Parameters
NameThe mutex name.
ExistIf the method completed with success the parameter indicates whether a named mutex object was just created or existing was opened. True indicates that a mutex object was opened. False indicates that a new mutex object was created.
Returns
If the method completed with success the returning value is a new CwclMutex class object. If the method failed the returning value is NULL.
See also
CwclMutex