Where to locate kern/wait_queue.h
Where to locate kern/wait_queue.h
- Subject: Where to locate kern/wait_queue.h
- From: Abhijit Bhopatkar <email@hidden>
- Date: Mon, 06 Jul 2009 21:31:45 +0530
Hi,
I am trying to use wait_queue API as described at
http://developer.apple.com/documentation/Darwin/Conceptual/KernelProgramming/scheduler/scheduler.html#//apple_ref/doc/uid/TP30000905-CH211-TPXREF113
But I can not seem to find the right headers that export this API.
When i include it like
#include <kern/wait_queue.h>
it throws the error
../../../include/sam/mac_ktypes.h:44:29: error: kern/wait_queue.h: No
such file or directory
(ofcourse since looking in the include path i can't find
kern/wait_queue.h anywhere in the /System/Library)
The command line i am using to compile my module is
gcc init_mac.c vfsops_mac.c -Dmac -I../../../include -I../include
-I../include/obj/_DEBUG -I../../../include/pub/obj/_DEBUG -D_KERNEL
-D_SYSCALL32 -o samfs -fno-builtin -nostdlib -lkmod -r -mlong-branch -I
/System/Library/Frameworks/Kernel.framework/Headers
I have install XCode3 on Leopard OS 10.5.6
Is there something else i will need to add/install? or some other
include path?
Thanks and regards,
Abhijit
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden