Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F165702645
D43449.id132742.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
756 B
Referenced Files
None
Subscribers
None
D43449.id132742.diff
View Options
diff --git a/sys/sys/condvar.h b/sys/sys/condvar.h
--- a/sys/sys/condvar.h
+++ b/sys/sys/condvar.h
@@ -29,14 +29,6 @@
#ifndef _SYS_CONDVAR_H_
#define _SYS_CONDVAR_H_
-#ifndef LOCORE
-#include <sys/queue.h>
-
-struct lock_object;
-struct thread;
-
-TAILQ_HEAD(cv_waitq, thread);
-
/*
* Condition variable. The waiters count is protected by the mutex that
* protects the condition; that is, the mutex that is passed to cv_wait*()
@@ -49,6 +41,10 @@
};
#ifdef _KERNEL
+#include <sys/types.h>
+
+struct lock_object;
+
void cv_init(struct cv *cvp, const char *desc);
void cv_destroy(struct cv *cvp);
@@ -85,5 +81,4 @@
#define cv_wmesg(cvp) ((cvp)->cv_description)
#endif /* _KERNEL */
-#endif /* !LOCORE */
#endif /* _SYS_CONDVAR_H_ */
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Aug 10, 9:21 AM (15 h, 36 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
36294129
Default Alt Text
D43449.id132742.diff (756 B)
Attached To
Mode
D43449: condvar: Clean up condvar.h a bit
Attached
Detach File
Event Timeline
Log In to Comment