hi,
i am implementing a pseudo-devicer, many instaces of
this device may be
active, all have to share a resource. all instances
have to synchronize
their access to the resource. trying to implement
this, i ended up with a
less powerful version of semaphores. since the
resultant code became
little complex, i want to replace that with the more
generic semaphores.
i checked the include files, but i couldn't find any
semaphore
functions(semget,semctl,semop) which are specific or
meant for use inside
kernel. does it mean they aren't available inside
kernel?? if i am wrong,
can someone suggest me how to use them??
thank you,
mohan
__________________________________________________
Do You Yahoo!?
Send instant messages & get email alerts with Yahoo! Messenger.
http://im.yahoo.com/
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message