From 7045878b042789db21af0c4f3254ce1a331420a8 Mon Sep 17 00:00:00 2001
From: Ulrich Drepper <drepper@redhat.com>
Date: Fri, 25 Aug 2000 16:48:42 +0000
Subject: Update.

	* elf/dl-close.c (_dl_close): Don't run destructors of objects
	marked DF_1_NODELETE.
---
 linuxthreads/pthread.c | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

(limited to 'linuxthreads/pthread.c')

diff --git a/linuxthreads/pthread.c b/linuxthreads/pthread.c
index 646a0049b7..628b0cea17 100644
--- a/linuxthreads/pthread.c
+++ b/linuxthreads/pthread.c
@@ -1,3 +1,4 @@
+
 /* Linuxthreads - a simple clone()-based implementation of Posix        */
 /* threads for Linux.                                                   */
 /* Copyright (C) 1996 Xavier Leroy (Xavier.Leroy@inria.fr)              */
@@ -724,10 +725,10 @@ weak_alias (__pthread_yield, pthread_yield)
 
 static void pthread_exit_process(int retcode, void *arg)
 {
-  struct pthread_request request;
-  pthread_descr self = thread_self();
-
   if (__builtin_expect (__pthread_manager_request, 0) >= 0) {
+    struct pthread_request request;
+    pthread_descr self = thread_self();
+
     request.req_thread = self;
     request.req_kind = REQ_PROCESS_EXIT;
     request.req_args.exit.code = retcode;
-- 
cgit v1.2.1