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/hmmutex.h

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