home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / ool_main.zip / ool / include / xesem.H < prev    next >
C/C++ Source or Header  |  1998-04-06  |  1KB  |  28 lines

  1. #ifndef __XEVENTSEM_H__
  2. #define __XEVENTSEM_H__
  3.  
  4. /*===========================================================================*/
  5. /* OOL ------------------- the Open Object Library ------------------- r 1.0 */
  6. /*===========================================================================*/
  7. /*                              class: XEventSemaphore                       */
  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_ XEventSemaphore:public XSemaphore
  16. {
  17.    public:
  18.       XEventSemaphore(const char * name, const BOOL shared, const BOOL isSet=FALSE);
  19.       XEventSemaphore(const char * name);
  20.       ~XEventSemaphore();
  21.       ULONG Reset();
  22.       void Close();
  23.       void Post();
  24.       void Wait( const LONG timeOut);
  25. };
  26.  
  27. #endif
  28.