Ignore:
Timestamp:
Jun 19, 2001, 12:50:26 PM (24 years ago)
Author:
sandervl
Message:

semaphore rewrite (not activated)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/kernel32/hmsemaphore.h

    r768 r6049  
    1 /* $Id: hmsemaphore.h,v 1.2 1999-08-31 23:14:03 phaller Exp $ */
     1/* $Id: hmsemaphore.h,v 1.3 2001-06-19 10:50:25 sandervl Exp $ */
    22
    33/*
     
    2929 *****************************************************************************/
    3030
     31#ifdef USE_OS2SEMAPHORES
     32class HMDeviceSemaphoreClass : public HMDeviceHandler
     33#else
    3134class HMDeviceSemaphoreClass : public HMDeviceOpen32Class
     35#endif
    3236{
    3337public:
    3438  HMDeviceSemaphoreClass(LPCSTR lpDeviceName) : HMDeviceOpen32Class(lpDeviceName) {}
    3539
    36                      /* this is a handler method for calls to CreateSemaphore() */
     40  /* this is a handler method for calls to CreateSemaphore() */
    3741  virtual DWORD CreateSemaphore (PHMHANDLEDATA         pHMHandleData,
    3842                                 LPSECURITY_ATTRIBUTES lpsa,
     
    4145                                 LPCTSTR               lpszSemaphoreName);
    4246
    43                        /* this is a handler method for calls to OpenSemaphore() */
     47  /* this is a handler method for calls to OpenSemaphore() */
    4448  virtual DWORD OpenSemaphore   (PHMHANDLEDATA         pHMHandleData,
    4549                                 BOOL                  fInheritHandle,
    4650                                 LPCTSTR               lpszSemaphoreName);
    4751
    48                      /* this is a handle method for calls to ReleaseSemaphore() */
     52#ifdef USE_OS2SEMAPHORES
     53  virtual BOOL  CloseHandle(PHMHANDLEDATA pHMHandleData);
     54
     55  virtual BOOL DuplicateHandle(PHMHANDLEDATA pHMHandleData, HANDLE  srcprocess,
     56                               PHMHANDLEDATA pHMSrcHandle,
     57                               HANDLE  destprocess,
     58                               PHANDLE desthandle,
     59                               DWORD   fdwAccess,
     60                               BOOL    fInherit,
     61                               DWORD   fdwOptions,
     62                               DWORD   fdwOdinOptions);
     63#endif
     64
     65  /* this is a handle method for calls to ReleaseSemaphore() */
    4966  virtual BOOL  ReleaseSemaphore(PHMHANDLEDATA pHMHandleData,
    5067                                 LONG          cReleaseCount,
Note: See TracChangeset for help on using the changeset viewer.