thread programming

Harald Wagener (hollow@Informatik.Uni-Bremen.DE)
20 Apr 1999 19:20:31 +0200


Hello,
some questions to the thread programming gurus out there:

For the implementation of a Virtual Machine with a garbage collector,
I would need the ability to stop all threads _except_ the thread doing
the gc for me. How would You proceed? I know this might be possible by
setting the thread to SCHED_FIFO and then giving it the highest
priority, but that would require the process to run suid root, which I
would like to avoid. Any suggestions are welcome, as would be advice
for the proper implementation of suspend() and resume() function calls
for threads (which would make possible the implementation of the
above).

TIA,
H.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/