summaryrefslogtreecommitdiff
path: root/pthread.h
diff options
context:
space:
mode:
authorrpj <rpj>2005-06-03 08:32:43 +0000
committerrpj <rpj>2005-06-03 08:32:43 +0000
commit15f1b0bc1f4feeca60ca1dda769928822d6c032a (patch)
tree26a3693fd7058745a2bd76e8c086dc4d16656049 /pthread.h
parent1908d93b42b01cea49c886e2260fd70ac05becf7 (diff)
''
Diffstat (limited to 'pthread.h')
-rw-r--r--pthread.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/pthread.h b/pthread.h
index 1497c38..f901459 100644
--- a/pthread.h
+++ b/pthread.h
@@ -656,8 +656,8 @@ enum {
struct pthread_once_t_
{
- volatile int done; /* indicates if user function has been executed or cancelled */
- int started;
+ void * lock;
+ int done; /* indicates if user function has been executed or cancelled */
};