mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-28 00:21:52 +03:00
Update.
1998-03-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> * manager.c (__pthread_manager): Reduce first argument to select to include just the needed file descriptor.
This commit is contained in:
@ -1,3 +1,8 @@
|
|||||||
|
1998-03-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
|
||||||
|
|
||||||
|
* manager.c (__pthread_manager): Reduce first argument to select
|
||||||
|
to include just the needed file descriptor.
|
||||||
|
|
||||||
1998-03-17 00:06 Ulrich Drepper <drepper@cygnus.com>
|
1998-03-17 00:06 Ulrich Drepper <drepper@cygnus.com>
|
||||||
|
|
||||||
* manager.c: Fix last patch which caused core dumps.
|
* manager.c: Fix last patch which caused core dumps.
|
||||||
|
@ -99,7 +99,7 @@ int __pthread_manager(void *arg)
|
|||||||
FD_SET(reqfd, &readfds);
|
FD_SET(reqfd, &readfds);
|
||||||
timeout.tv_sec = 2;
|
timeout.tv_sec = 2;
|
||||||
timeout.tv_usec = 0;
|
timeout.tv_usec = 0;
|
||||||
n = __select(FD_SETSIZE, &readfds, NULL, NULL, &timeout);
|
n = __select(reqfd + 1, &readfds, NULL, NULL, &timeout);
|
||||||
|
|
||||||
/* Check for termination of the main thread */
|
/* Check for termination of the main thread */
|
||||||
if (getppid() == 1) {
|
if (getppid() == 1) {
|
||||||
|
Reference in New Issue
Block a user