semId => semMutexId and semBinaryId
This commit is contained in:
@@ -22,9 +22,9 @@ of this distribution.
|
||||
|
||||
|
||||
typedef struct info {
|
||||
int threadnum;
|
||||
semId binary;
|
||||
int quit;
|
||||
int threadnum;
|
||||
semBinaryId binary;
|
||||
int quit;
|
||||
}info;
|
||||
|
||||
static void binaryThread(void *arg)
|
||||
@@ -61,7 +61,7 @@ void semBinaryTest(int nthreads)
|
||||
char **name;
|
||||
void **arg;
|
||||
info **pinfo;
|
||||
semId binary;
|
||||
semBinaryId binary;
|
||||
int status;
|
||||
time_t tp;
|
||||
|
||||
|
||||
@@ -22,9 +22,9 @@ of this distribution.
|
||||
|
||||
|
||||
typedef struct info {
|
||||
int threadnum;
|
||||
semId mutex;
|
||||
int quit;
|
||||
int threadnum;
|
||||
semMutexId mutex;
|
||||
int quit;
|
||||
}info;
|
||||
|
||||
static void mutexThread(void *arg)
|
||||
@@ -61,7 +61,7 @@ void semMutexTest(int nthreads)
|
||||
char **name;
|
||||
void **arg;
|
||||
info **pinfo;
|
||||
semId mutex;
|
||||
semMutexId mutex;
|
||||
int status;
|
||||
time_t tp;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user