This is the mail archive of the glibc-cvs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

GNU C Library master sources branch roland/cancelhandling created. glibc-2.21-537-g1dfacd8


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".

The branch, roland/cancelhandling has been created
        at  1dfacd8bbba72d2cc87a217e5f5cc3c9582a30d2 (commit)

- Log -----------------------------------------------------------------
http://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=1dfacd8bbba72d2cc87a217e5f5cc3c9582a30d2

commit 1dfacd8bbba72d2cc87a217e5f5cc3c9582a30d2
Author: Roland McGrath <roland@hack.frob.com>
Date:   Wed Jun 24 16:50:08 2015 -0700

    NPTL: Give cancelhandling fields type unsigned int.

diff --git a/ChangeLog b/ChangeLog
index f9cf634..291f758 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 2015-06-24  Roland McGrath  <roland@hack.frob.com>
 
+	* nptl/descr.h (struct pthread): Change type of fields cancelhandling
+	and parent_cancelhandling from 'int' to 'unsigned int'.
+
+2015-06-24  Roland McGrath  <roland@hack.frob.com>
+
 	* nptl/descr.h (struct pthread): Change type of field setxid_futex
 	to 'unsigned int'.
 
diff --git a/nptl/descr.h b/nptl/descr.h
index a502048..7fe4b6c 100644
--- a/nptl/descr.h
+++ b/nptl/descr.h
@@ -256,7 +256,7 @@ struct pthread
 #define HAVE_CLEANUP_JMP_BUF
 
   /* Flags determining processing of cancellation.  */
-  int cancelhandling;
+  unsigned int cancelhandling;
   /* Bit set if cancellation is disabled.  */
 #define CANCELSTATE_BIT		0
 #define CANCELSTATE_BITMASK	(0x01 << CANCELSTATE_BIT)
@@ -322,7 +322,7 @@ struct pthread
 
   /* The parent's cancel handling at the time of the pthread_create
      call.  This might be needed to undo the effects of a cancellation.  */
-  int parent_cancelhandling;
+  unsigned int parent_cancelhandling;
 
   /* Lock to synchronize access to the descriptor.  */
   int lock;

-----------------------------------------------------------------------


hooks/post-receive
-- 
GNU C Library master sources


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]