Changeset 768 for trunk/src


Ignore:
Timestamp:
Sep 1, 1999, 1:14:31 AM (26 years ago)
Author:
phaller
Message:

Fix: incorrect anchor class for mutexes, events and semaphores

Location:
trunk/src/kernel32
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/kernel32/HandleManager.cpp

    r691 r768  
    1 /* $Id: HandleManager.cpp,v 1.17 1999-08-25 14:41:14 phaller Exp $ */
     1/* $Id: HandleManager.cpp,v 1.18 1999-08-31 23:14:02 phaller Exp $ */
    22
    33/*
     
    15591559  }
    15601560
     1561  // @@@PH Problem: wrong class (base class) is called instead of
     1562  //                open32 class ?! Why ?!
    15611563  pHMHandle = &TabWin32Handles[iIndex];               /* call device handler */
    15621564  dwResult = pHMHandle->pDeviceHandler->WaitForSingleObject(&pHMHandle->hmHandleData,
  • trunk/src/kernel32/hmevent.h

    r278 r768  
    1 /* $Id: hmevent.h,v 1.1 1999-07-06 15:48:47 phaller Exp $ */
     1/* $Id: hmevent.h,v 1.2 1999-08-31 23:14:03 phaller Exp $ */
    22
    33/*
     
    2222
    2323#include "HMDevice.h"
    24 #include "HMObjects.h"
     24#include "HMOpen32.h"
    2525
    2626
     
    2929 *****************************************************************************/
    3030
    31 class HMDeviceEventClass : public HMDeviceKernelObjectClass
     31class HMDeviceEventClass : public HMDeviceOpen32Class
    3232{
    3333public:
    34   HMDeviceEventClass(LPCSTR lpDeviceName) : HMDeviceKernelObjectClass(lpDeviceName) {}
     34  HMDeviceEventClass(LPCSTR lpDeviceName) : HMDeviceOpen32Class(lpDeviceName) {}
    3535
    3636                     /* this is a handler method for calls to CreateEvent() */
  • trunk/src/kernel32/hmmutex.h

    r278 r768  
    1 /* $Id: hmmutex.h,v 1.1 1999-07-06 15:48:47 phaller Exp $ */
     1/* $Id: hmmutex.h,v 1.2 1999-08-31 23:14:03 phaller Exp $ */
    22
    33/*
     
    2222
    2323#include "HMDevice.h"
    24 #include "HMObjects.h"
     24#include "HMOpen32.h"
    2525
    2626
     
    2929 *****************************************************************************/
    3030
    31 class HMDeviceMutexClass : public HMDeviceKernelObjectClass
     31class HMDeviceMutexClass : public HMDeviceOpen32Class
    3232{
    3333public:
    34   HMDeviceMutexClass(LPCSTR lpDeviceName) : HMDeviceKernelObjectClass(lpDeviceName) {}
     34  HMDeviceMutexClass(LPCSTR lpDeviceName) : HMDeviceOpen32Class(lpDeviceName) {}
    3535
    3636                     /* this is a handler method for calls to CreateMutex() */
  • trunk/src/kernel32/hmsemaphore.h

    r278 r768  
    1 /* $Id: hmsemaphore.h,v 1.1 1999-07-06 15:48:48 phaller Exp $ */
     1/* $Id: hmsemaphore.h,v 1.2 1999-08-31 23:14:03 phaller Exp $ */
    22
    33/*
     
    2222
    2323#include "HMDevice.h"
    24 #include "HMObjects.h"
     24#include "HMOpen32.h"
    2525
    2626
     
    2929 *****************************************************************************/
    3030
    31 class HMDeviceSemaphoreClass : public HMDeviceKernelObjectClass
     31class HMDeviceSemaphoreClass : public HMDeviceOpen32Class
    3232{
    3333public:
    34   HMDeviceSemaphoreClass(LPCSTR lpDeviceName) : HMDeviceKernelObjectClass(lpDeviceName) {}
     34  HMDeviceSemaphoreClass(LPCSTR lpDeviceName) : HMDeviceOpen32Class(lpDeviceName) {}
    3535
    3636                     /* this is a handler method for calls to CreateSemaphore() */
Note: See TracChangeset for help on using the changeset viewer.