Lines 79-85
Link Here
|
79 |
/* osl_createSemaphore */ |
79 |
/* osl_createSemaphore */ |
80 |
/*****************************************************************************/ |
80 |
/*****************************************************************************/ |
81 |
|
81 |
|
82 |
#ifdef LINUX |
82 |
#if 0 |
83 |
/* sem_t from glibc-2.1 (/usr/include/semaphore.h) */ |
83 |
/* sem_t from glibc-2.1 (/usr/include/semaphore.h) */ |
84 |
|
84 |
|
85 |
typedef struct { |
85 |
typedef struct { |
Lines 100-106
Link Here
|
100 |
* larger of both |
100 |
* larger of both |
101 |
* XXX |
101 |
* XXX |
102 |
*/ |
102 |
*/ |
103 |
#ifdef LINUX |
103 |
#if 0 |
104 |
if ( sizeof(glibc_21_sem_t) > sizeof(sem_t) ) |
104 |
if ( sizeof(glibc_21_sem_t) > sizeof(sem_t) ) |
105 |
Semaphore= malloc(sizeof(glibc_21_sem_t)); |
105 |
Semaphore= malloc(sizeof(glibc_21_sem_t)); |
106 |
else |
106 |
else |