mach_task_self()
mach_task_self()
- Subject: mach_task_self()
- From: Matt Jaffa <email@hidden>
- Date: Mon, 1 Dec 2003 13:16:41 -0700
Hi,
I am trying to use semaphores within the KERNEL,
the normal sem_init, etc. I have discovered have been disabled from
being able to use
inside the KERNEL,
So I am looking at the semaphore_create(.......) that can work within
the kernel,
but it is asking for a task_t task. Now how do i get that,
mach_task_self() doesn't work inside the kernel either. I want the
task of the KEXT im writing to be put in that position.
Any ideas?
Thanks
_______________________________________________
darwin-kernel mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/darwin-kernel
Do not post admin requests to the list. They will be ignored.