aboutsummaryrefslogtreecommitdiff
path: root/nptl/descr.h
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2007-05-11 06:39:07 +0000
committerUlrich Drepper <drepper@redhat.com>2007-05-11 06:39:07 +0000
commit341c566f05fa6b19b88508f7ddd835bfd101731b (patch)
tree82fc68ed7d11fb8ea2b5c7f7d8f38c2c554734c7 /nptl/descr.h
parenta53fa282ac5200d5ca345a34f2a257dfe5ed2d4b (diff)
downloadglibc-341c566f05fa6b19b88508f7ddd835bfd101731b.zip
glibc-341c566f05fa6b19b88508f7ddd835bfd101731b.tar.gz
glibc-341c566f05fa6b19b88508f7ddd835bfd101731b.tar.bz2
* sysdeps/unix/sysv/linux/tst-getcpu.c: New file.
* sysdeps/unix/sysv/linux/Makefile [subdir=posix] (tests): Add tst-getcpu. * include/link.h: Move l_version and l_nversion members around to fill gaps.
Diffstat (limited to 'nptl/descr.h')
-rw-r--r--nptl/descr.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/nptl/descr.h b/nptl/descr.h
index 321ce85..00cad1a 100644
--- a/nptl/descr.h
+++ b/nptl/descr.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
+/* Copyright (C) 2002-2006, 2007 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@redhat.com>, 2002.
@@ -268,6 +268,9 @@ struct pthread
| EXITING_BITMASK | CANCEL_RESTMASK | TERMINATED_BITMASK)) \
== (CANCELTYPE_BITMASK | CANCELED_BITMASK))
+ /* Flags. Including those copied from the thread attribute. */
+ int flags;
+
/* We allocate one block of references here. This should be enough
to avoid allocating any memory dynamically for most applications. */
struct pthread_key_data
@@ -321,9 +324,6 @@ struct pthread
/* Check whether a thread is detached. */
#define IS_DETACHED(pd) ((pd)->joinid == (pd))
- /* Flags. Including those copied from the thread attribute. */
- int flags;
-
/* The result of the thread function. */
void *result;