diff options
author | davidxu <davidxu@FreeBSD.org> | 2006-03-20 03:14:14 +0000 |
---|---|---|
committer | davidxu <davidxu@FreeBSD.org> | 2006-03-20 03:14:14 +0000 |
commit | 020594940d4ea38301162c3f1b4d10d33b69c6b3 (patch) | |
tree | 72fdbf82cb72dc8f9a187b8b64f3f3a6b3777143 /lib/libthr | |
parent | 7448676f59fe1294f9b5ec654564614a5c1edbe1 (diff) | |
download | FreeBSD-src-020594940d4ea38301162c3f1b4d10d33b69c6b3.zip FreeBSD-src-020594940d4ea38301162c3f1b4d10d33b69c6b3.tar.gz |
Set default contention scope to system.
Diffstat (limited to 'lib/libthr')
-rw-r--r-- | lib/libthr/thread/thr_init.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libthr/thread/thr_init.c b/lib/libthr/thread/thr_init.c index 68610e4..2ddacc9 100644 --- a/lib/libthr/thread/thr_init.c +++ b/lib/libthr/thread/thr_init.c @@ -73,7 +73,7 @@ struct pthread_attr _pthread_attr_default = { .sched_interval = TIMESLICE_USEC, .prio = THR_DEFAULT_PRIORITY, .suspend = THR_CREATE_RUNNING, - .flags = 0, + .flags = PTHREAD_SCOPE_SYSTEM, .arg_attr = NULL, .cleanup_attr = NULL, .stackaddr_attr = NULL, |