lkml.org 
[lkml]   [1999]   [Apr]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Subjectthread programming
From
Date
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/

\
 
 \ /
  Last update: 2005-03-22 13:51    [W:0.021 / U:7.508 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site