This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug translator/16614] signal forwarding to child processes uses invalid pthread* functions
- From: "jistone at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sourceware dot org
- Date: Thu, 20 Feb 2014 20:58:44 +0000
- Subject: [Bug translator/16614] signal forwarding to child processes uses invalid pthread* functions
- Auto-submitted: auto-generated
- References: <bug-16614-6586 at http dot sourceware dot org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=16614
Josh Stone <jistone at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jistone at redhat dot com
--- Comment #1 from Josh Stone <jistone at redhat dot com> ---
(In reply to Frank Ch. Eigler from comment #0)
> We need a signal-safe structure for collecting & iterating child pids.
We may just need to make spawned_pids_t properly either-or, signal-safe or
thread-safe but not both. At the moment, stap is single-threaded and calls
kill_stap_spawn from a signal handler; stap-serverd is multithreaded but only
kills via main. So stap only needs the signal-masking, and stap-serverd only
needs the pthread mutex. (In fact, the use of sigprocmask is unspecified in
multithreaded processes.)
This is half-way selected by the SINGLE_THREADED macro now, but that's a big
hammer, not even set by stap.
--
You are receiving this mail because:
You are the assignee for the bug.