Created
February 8, 2010 19:32
-
-
Save nurse/298489 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Index: lib/libpthread/pthread.c | |
=================================================================== | |
RCS file: /cvsroot/src/lib/libpthread/pthread.c,v | |
retrieving revision 1.106.2.2 | |
diff -u -p -r1.106.2.2 pthread.c | |
--- lib/libpthread/pthread.c 11 Jan 2010 00:47:29 -0000 1.106.2.2 | |
+++ lib/libpthread/pthread.c 8 Feb 2010 22:59:19 -0000 | |
@@ -261,6 +261,8 @@ pthread__child_callback(void) | |
* much. Anything that permits some pthread_* calls to work is | |
* merely being polite. | |
*/ | |
+ struct __pthread_st *self = pthread_self(); | |
+ self->pt_lid = _lwp_self(); | |
pthread__started = 0; | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment