From 2c87dda8f89e84082523b03b62c5d47d55c13341 Mon Sep 17 00:00:00 2001 From: rsc Date: Tue, 28 Dec 2004 01:35:38 +0000 Subject: add threaddaemonize(), more bug fixes --- src/libthread/threadimpl.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/libthread/threadimpl.h') diff --git a/src/libthread/threadimpl.h b/src/libthread/threadimpl.h index 164ba978..d4acebeb 100644 --- a/src/libthread/threadimpl.h +++ b/src/libthread/threadimpl.h @@ -5,8 +5,6 @@ typedef struct Execjob Execjob; typedef struct Proc Proc; typedef struct _Procrendez _Procrendez; - - typedef struct Jmp Jmp; struct Jmp { @@ -106,3 +104,5 @@ extern void _threadunlock(Lock*, ulong); extern void _pthreadinit(void); extern int _threadspawn(int*, char*, char**); extern int _runthreadspawn(int*, char*, char**); +extern void _threadsetupdaemonize(void); +extern void _threaddodaemonize(char*); -- cgit v1.2.3