Date: Mon, 18 Sep 2000 20:55:19 -0700 (PDT) From: Mohan Krishna P <penumetcha@yahoo.com> To: freebsd-hackers@FreeBSD.ORG Subject: semaphores inside kernel??? Message-ID: <20000919035519.24195.qmail@web115.yahoomail.com>
next in thread | raw e-mail | index | archive | help
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 majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000919035519.24195.qmail>