add threaddaemonize(), more bug fixes

This commit is contained in:
rsc
2004-12-28 01:35:38 +00:00
parent 929fcfe0e3
commit 2c87dda8f8
7 changed files with 56 additions and 14 deletions

View File

@@ -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*);