Changeset 880 for trunk/src/emx/include/sys/fmutex.h
- Timestamp:
- Dec 8, 2003, 6:35:52 AM (22 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/emx/include/sys/fmutex.h
-
Property cvs2svn:cvs-rev
changed from
1.2
to1.3
r879 r880 7 7 #ifndef _SYS_FMUTEX_H 8 8 #define _SYS_FMUTEX_H 9 10 #include <stdlib.h> /* need abort */ 9 11 10 12 #if defined (__cplusplus) … … 89 91 void _fmutex_checked_create (_fmutex *, unsigned); 90 92 void _fmutex_checked_open (_fmutex *); 91 void _fmutex_checked_release (_fmutex *); 92 void _fmutex_checked_request (_fmutex *, unsigned); 93 94 static __inline__ void _fmutex_checked_release (_fmutex * sem) 95 { 96 if (_fmutex_release (sem) != 0) 97 abort (); 98 } 99 100 static __inline__ void _fmutex_checked_request (_fmutex * sem, unsigned flags) 101 { 102 if (_fmutex_request (sem, flags) != 0) 103 abort (); 104 } 93 105 94 106 #if defined (__cplusplus) -
Property cvs2svn:cvs-rev
changed from
Note:
See TracChangeset
for help on using the changeset viewer.