lkml.org 
[lkml]   [2007]   [Sep]   [7]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateFri, 7 Sep 2007 11:53:34 +0000
FromPavel Machek <>
SubjectRe: [RFD] new syscalls: suspend_other/resume_other?
On Sun 2007-09-02 17:04:21, Ingo Oeser wrote:
> Hi there,
> 
> at the moment implementing a mark and sweep garbage collection 
> subsystem is quite a hack, because you always have to use up
> some signals for suspend/resume all threads to implement this.
> 
> For runtime environments (like D system libraries or JVMs) this is 
> a hack, since you take away flexibility from the application.
> 
> A possible solution would be a syscall or a PTRACE extension
> to realize the suspend/resume. I best describe the possible
> syscall manpages here, so you get an idea.
> 
> NAME 
> 	suspend_other - suspends execution of all but the calling thread

aha, this should really be named stop_other / cont_other, suspend is
already taken :-).
							Pavel
-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2007-09-07 11:57    [W:0.263 / U:0.080 seconds]
©2003-2008 Jasper Spaans