Ignore:
Timestamp:
Nov 23, 2003, 3:41:33 AM (22 years ago)
Author:
bird
Message:

Added deadlock and termination checks to the semaphore waiting to avoid stupid hangs.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/emx/include/sys/fmutex.h

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.2
    r871 r872  
    3434typedef struct
    3535{
    36   unsigned long hev;            /* HEV */
    37   __volatile__ signed char fs;  /* Status */
     36    /** Handle to event semaphore. */
     37    unsigned long hev;
     38    /** Semaphore status. */
     39    __volatile__ signed char fs;
     40    /** Semaphore create flags. (_FMC_SHARED) */
     41    unsigned char flags;
     42    /** padding the struct to 8 bytes. */
     43    unsigned char padding[2];
    3844} _fmutex;
    3945#pragma pack()
Note: See TracChangeset for help on using the changeset viewer.