diff options
| author | Daniel Eischen <deischen@FreeBSD.org> | 2002-05-24 04:32:28 +0000 |
|---|---|---|
| committer | Daniel Eischen <deischen@FreeBSD.org> | 2002-05-24 04:32:28 +0000 |
| commit | 5eb8d1f0b06897d05898ed3ba684d8860f9bef97 (patch) | |
| tree | 15691e04d3960954bb9843fcfd9d5beaf2553f80 /lib/libpthread/thread/thr_multi_np.c | |
| parent | a119f259955f142a20d551d91b53716aecd57edb (diff) | |
Notes
Diffstat (limited to 'lib/libpthread/thread/thr_multi_np.c')
| -rw-r--r-- | lib/libpthread/thread/thr_multi_np.c | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/lib/libpthread/thread/thr_multi_np.c b/lib/libpthread/thread/thr_multi_np.c index c1a069f11ce5..bd42365621a6 100644 --- a/lib/libpthread/thread/thr_multi_np.c +++ b/lib/libpthread/thread/thr_multi_np.c @@ -31,16 +31,20 @@ * * $FreeBSD$ */ -#include <string.h> #include <pthread.h> -#include "pthread_private.h" +#include <pthread_np.h> __weak_reference(_pthread_multi_np, pthread_multi_np); int _pthread_multi_np() { + /* Return to multi-threaded scheduling mode: */ - _thread_single = NULL; - return(0); + /* + * XXX - Do we want to do this? + * __is_threaded = 1; + */ + pthread_resume_all_np(); + return (0); } |
