1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-11 09:50:12 +00:00

KMF_DONE is now in /sys/sys/kse.h, no longer need to define it here.

This commit is contained in:
David Xu 2003-06-04 03:22:59 +00:00
parent 7fc03ef474
commit e84a8d0d65
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=115798
4 changed files with 0 additions and 14 deletions

View File

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

View File

@ -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

View File

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

View File

@ -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