summaryrefslogtreecommitdiffstats
path: root/lib/libthr/thread/thr_private.h
diff options
context:
space:
mode:
authordavidxu <davidxu@FreeBSD.org>2004-08-19 23:49:04 +0000
committerdavidxu <davidxu@FreeBSD.org>2004-08-19 23:49:04 +0000
commit1d227ebfe244c308f779bc951b98515f9271c2dd (patch)
treec2cbf5cdc79daabfc870a497148f30881083b1aa /lib/libthr/thread/thr_private.h
parentbe1d6f4eb1c9af043ddd260b2c562df680609aad (diff)
downloadFreeBSD-src-1d227ebfe244c308f779bc951b98515f9271c2dd.zip
FreeBSD-src-1d227ebfe244c308f779bc951b98515f9271c2dd.tar.gz
Adjust code to support AMD64, on AMD64, thread needs to set fsbase by
itself before it can execute any other code, so new thread should be created with all signals are masked until after fsbase is set.
Diffstat (limited to 'lib/libthr/thread/thr_private.h')
-rw-r--r--lib/libthr/thread/thr_private.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libthr/thread/thr_private.h b/lib/libthr/thread/thr_private.h
index 45c7fe4..06caf96 100644
--- a/lib/libthr/thread/thr_private.h
+++ b/lib/libthr/thread/thr_private.h
@@ -797,7 +797,7 @@ void _thread_cleanupspecific(void);
void _thread_dump_info(void);
void _thread_init(void);
void _thread_printf(int fd, const char *, ...);
-void _thread_start(void);
+void _thread_start(pthread_t td);
void _thread_seterrno(pthread_t, int);
void _thread_enter_cancellation_point(void);
void _thread_leave_cancellation_point(void);
OpenPOWER on IntegriCloud