On Mon, Nov 24, 2003 at 01:46:24PM +0100, Juergen Oberhofer wrote: > I.e. there is no way to use shared memory and semaphores in a > module? There is no way to use the user space mechanisms. There are equivalent, specifically adapted to the kernel environment mechanisms. For example, a kernel semaphore (which is actually a mutex) or a spinlock. For shared memory, you can just use a shared variable or buffer, depending on your needs. If you want shared memory (or mutual exclusion) between the kernel and a user space process, that's where the fun starts. Cheers, Muli -- Muli Ben-Yehuda http://www.mulix.org | http://mulix.livejournal.com/ "the nucleus of linux oscillates my world" - gccbot@#offtopic
Attachment:
signature.asc
Description: Digital signature