Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Jul 2003 09:24:04 -0400
From:      John <jwd@bsdwins.com>
To:        Julian Elischer <julian@elischer.org>
Cc:        hackers@freebsd.org
Subject:   Re: ptrace & threads
Message-ID:  <20030718132404.GA60116@BSDWins.Com>
In-Reply-To: <Pine.BSF.4.21.0307172219080.87910-100000@InterJet.elischer.org>
References:  <3F17677C.4090200@wooten.com> <Pine.BSF.4.21.0307172219080.87910-100000@InterJet.elischer.org>

next in thread | previous in thread | raw e-mail | index | archive | help
----- Julian Elischer's Original Message -----
> It is teh nextthing to look at..
> The ptrace interface doesn't extend to coverthreads at all.
> We willneed to design somewhole new system..
> One posibility is the benedict arnold thread(*), that
> talks with the debugger and controlls teh other threads..

Well, hoping not to create a NIH discussion, but OS/2 had/has
a nice interface for thread debugging. Used it years ago as
a model for setting up an environment on the mainframe (vm).

One thing to remember, a failed thread on one cpu has no effect
on any threads running on other physicals.  You literally
need a way to control how many threads can run in parallel, how
many physical cpus they can use, and in some circumstances,
logicals.

-John



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030718132404.GA60116>