This method is specific to Version 4, or higher, of the OS/2 operating system.
This instance method verifies that an object's mutex semaphore is held for the current thread.
#define INCL_WINWORKPLACE #include <os2.h> WPObject *somSelf; /* Pointer to the object on which the method is being invoked. */ BOOL rc; /* Success indicator */ rc = _wpAssertObjectMutexSem(somSelf);