Kernel threads useable by mortals?

Christopher J. Shaulis (cjs@netcom.com)
Sun, 14 Apr 1996 17:08:16 -0400 (EDT)


Hi! =)

I'm getting ready to start a couple projects which will depend upon
Linux's kernel threads. There are just a couple questions I need
answered before I start.

1) A while ago, Linus passed a code snippet around which showed how to
start up a new thread in user space. Has anyone improved upon this?
Or is it what everyone is using still?

2) I have heard that the new mmap based malloc in libc is thread safe
and doesn't depend on usermode locks to be so. Is this true?

3) Are there any user-mode locking functions available? Preferably ones
that are guaranteed atomic and FIFO?

Thanks,
Christopher