From 119b33b180c8b125ea0dee4e0181f444fc7278d6 Mon Sep 17 00:00:00 2001 From: rpj Date: Sat, 25 Jul 1998 15:31:15 +0000 Subject: Sun Jul 26 00:09:59 1998 Ross Johnson * signal.c (pthread_sigmask): Rename "this" to "us" and fix some minor syntax errors. Declare "us" and initialise it. * sync.c (pthread_detach): Rename "this" to "target". --- sync.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sync.c') diff --git a/sync.c b/sync.c index 49efcdf..721574e 100644 --- a/sync.c +++ b/sync.c @@ -188,7 +188,7 @@ pthread_detach(pthread_t thread) /* This is all we do here - the rest is done either when the thread exits or when pthread_join() exits. Once this is set it will never be unset. */ - pthread_attr_setdetachedstate(&(this->attr), + pthread_attr_setdetachedstate(&(target->attr), PTHREAD_CREATE_DETACHED); ret = 0; -- cgit v1.2.3