Re: [RFD] new syscalls: suspend_other/resume_other?

From: Pavel Machek
Date: Fri Sep 07 2007 - 07:53:55 EST


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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/