Rev | Line | |
---|
[3598] | 1 | /* $Id: os2thread.c,v 1.1 2000-05-23 20:40:42 jeroen Exp $ */
|
---|
| 2 | /*****************************************************************************/
|
---|
| 3 | /* */
|
---|
| 4 | /* Thread/Mutex support for OS/2 port of Mesa */
|
---|
| 5 | /* */
|
---|
| 6 | /*****************************************************************************/
|
---|
| 7 |
|
---|
| 8 | #define INCL_DOSSEMAPHORES
|
---|
| 9 | #include <os2wrap.h>
|
---|
| 10 | #include "os2thread.h"
|
---|
| 11 |
|
---|
| 12 | ULONG _System OS2CreateMutexSem(CHAR *pszName,HMTX *hmtx,ULONG a,ULONG b)
|
---|
| 13 | {
|
---|
| 14 | return DosCreateMutexSem(pszName,hmtx,a,b);
|
---|
| 15 | }
|
---|
| 16 |
|
---|
| 17 | ULONG _System OS2RequestMutexSem(HMTX hmtx,ULONG t)
|
---|
| 18 | {
|
---|
| 19 | return DosRequestMutexSem(hmtx,t);
|
---|
| 20 | }
|
---|
| 21 |
|
---|
| 22 | ULONG _System OS2ReleaseMutexSem(HMTX hmtx)
|
---|
| 23 | {
|
---|
| 24 | return DosReleaseMutexSem(hmtx);
|
---|
| 25 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.