diff options
-rw-r--r-- | nptl/ChangeLog | 4 | ||||
-rw-r--r-- | nptl/descr.h | 5 |
2 files changed, 7 insertions, 2 deletions
diff --git a/nptl/ChangeLog b/nptl/ChangeLog index a3f0c94705..f6f70fd600 100644 --- a/nptl/ChangeLog +++ b/nptl/ChangeLog @@ -1,3 +1,7 @@ +2003-03-01 Ulrich Drepper <drepper@redhat.com> + + * descr.h (struct pthread): Move cleanup field to the front. + 2003-03-01 Roland McGrath <roland@redhat.com> * sem_open.c (sem_open): Braino fix. diff --git a/nptl/descr.h b/nptl/descr.h index 121510ab2b..f189a6ed7b 100644 --- a/nptl/descr.h +++ b/nptl/descr.h @@ -80,6 +80,9 @@ struct pthread therefore stack) used' flag. */ pid_t tid; + /* List of cleanup buffers. */ + struct _pthread_cleanup_buffer *cleanup; + /* Two-level array for the thread-specific data. */ struct pthread_key_data { @@ -121,8 +124,6 @@ struct pthread /* Check whether a thread is detached. */ #define IS_DETACHED(pd) ((pd)->joinid == (pd)) - /* List of cleanup buffers. */ - struct _pthread_cleanup_buffer *cleanup; /* Flags determining processing of cancellation. */ int cancelhandling; /* Bit set if cancellation is disabled. */ |