home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / ool_main.zip / ool / include / xmusem.h < prev    next >
C/C++ Source or Header  |  1997-08-12  |  1KB  |  27 lines

  1. #ifndef __XMUTEXSEM_H__
  2. #define __XMUTEXSEM_H__
  3.  
  4. /*===========================================================================*/
  5. /* OOL ------------------- the Open Object Library ------------------- r 1.0 */
  6. /*===========================================================================*/
  7. /*                              class: XMutexSemaphore                       */
  8. /*                       derived from: XSemaphore                            */
  9. /*                        last update: 3/97                                  */
  10. /*                      programmed by: Stefan von Brauk (sbrauk@gwdg.de)     */
  11. /*===========================================================================*/
  12.  
  13. #include "xsem.h"
  14.  
  15. class _export_ XMutexSemaphore:public XSemaphore
  16. {
  17.    public:
  18.       XMutexSemaphore(char * name, BOOL shared, BOOL owned=TRUE);
  19.       XMutexSemaphore(char * name);
  20.       ~XMutexSemaphore();
  21.       void Close();
  22.       void Release();
  23.       void Request(LONG timeOut);
  24. };
  25.  
  26. #endif
  27.