diff options
author | davidxu <davidxu@FreeBSD.org> | 2003-06-04 03:22:59 +0000 |
---|---|---|
committer | davidxu <davidxu@FreeBSD.org> | 2003-06-04 03:22:59 +0000 |
commit | 490170d1ea42e4316457c9c730a5796e25f3d51b (patch) | |
tree | 279a4fd8223b57e2a26737782d9852079fbff7bc /lib | |
parent | f3ad59aebd075c9685afd684cd538fa226018236 (diff) | |
download | FreeBSD-src-490170d1ea42e4316457c9c730a5796e25f3d51b.zip FreeBSD-src-490170d1ea42e4316457c9c730a5796e25f3d51b.tar.gz |
KMF_DONE is now in /sys/sys/kse.h, no longer need to define it here.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libkse/thread/thr_create.c | 3 | ||||
-rw-r--r-- | lib/libkse/thread/thr_kern.c | 4 | ||||
-rw-r--r-- | lib/libpthread/thread/thr_create.c | 3 | ||||
-rw-r--r-- | lib/libpthread/thread/thr_kern.c | 4 |
4 files changed, 0 insertions, 14 deletions
diff --git a/lib/libkse/thread/thr_create.c b/lib/libkse/thread/thr_create.c index 6b57f0e..f552ee5 100644 --- a/lib/libkse/thread/thr_create.c +++ b/lib/libkse/thread/thr_create.c @@ -143,9 +143,6 @@ _pthread_create(pthread_t * thread, const pthread_attr_t * attr, || ((kseg = _kseg_alloc(curthread)) == NULL))) { /* Insufficient memory to create a new KSE/KSEG: */ ret = EAGAIN; -#ifndef KMF_DONE -#define KMF_DONE 0x04 -#endif if (kse != NULL) { kse->k_mbx.km_flags |= KMF_DONE; _kse_free(curthread, kse); diff --git a/lib/libkse/thread/thr_kern.c b/lib/libkse/thread/thr_kern.c index 8eb084d..365d799 100644 --- a/lib/libkse/thread/thr_kern.c +++ b/lib/libkse/thread/thr_kern.c @@ -97,10 +97,6 @@ __FBSDID("$FreeBSD$"); #define KSE_RUNQ_THREADS(kse) ((kse)->k_schedq->sq_runq.pq_threads) -#ifndef KMF_DONE -#define KMF_DONE 0x04 -#endif - /* * We've got to keep track of everything that is allocated, not only * to have a speedy free list, but also so they can be deallocated diff --git a/lib/libpthread/thread/thr_create.c b/lib/libpthread/thread/thr_create.c index 6b57f0e..f552ee5 100644 --- a/lib/libpthread/thread/thr_create.c +++ b/lib/libpthread/thread/thr_create.c @@ -143,9 +143,6 @@ _pthread_create(pthread_t * thread, const pthread_attr_t * attr, || ((kseg = _kseg_alloc(curthread)) == NULL))) { /* Insufficient memory to create a new KSE/KSEG: */ ret = EAGAIN; -#ifndef KMF_DONE -#define KMF_DONE 0x04 -#endif if (kse != NULL) { kse->k_mbx.km_flags |= KMF_DONE; _kse_free(curthread, kse); diff --git a/lib/libpthread/thread/thr_kern.c b/lib/libpthread/thread/thr_kern.c index 8eb084d..365d799 100644 --- a/lib/libpthread/thread/thr_kern.c +++ b/lib/libpthread/thread/thr_kern.c @@ -97,10 +97,6 @@ __FBSDID("$FreeBSD$"); #define KSE_RUNQ_THREADS(kse) ((kse)->k_schedq->sq_runq.pq_threads) -#ifndef KMF_DONE -#define KMF_DONE 0x04 -#endif - /* * We've got to keep track of everything that is allocated, not only * to have a speedy free list, but also so they can be deallocated |