src/rda/unix lwp-pool.c ChangeLog
jimb@sourceware.org
jimb@sourceware.org
Thu Dec 2 23:46:00 GMT 2004
CVSROOT: /cvs/src
Module name: src
Branch: jimb-rda-nptl-branch
Changes by: jimb@sourceware.org 2004-12-02 23:46:46
Modified files:
rda/unix : lwp-pool.c ChangeLog
Log message:
Introduce a new STOPPED, STOP PENDING state to the LWP pool model.
* lwp-pool.c: Many doc fixes.
(enum lwp_state): Add new value, lwp_state_stopped_stop_pending.
(lwp_state_str): Provide a name for it.
(lwp_pool_waitpid): Reject it as an initial state for an LWP whose
status we'll report. Produce it when we report the status of a
STOPPED, STOP PENDING, INTERESTING LWP, rather than continuing
the LWP and waiting for it again.
(lwp_pool_stop_all): Recognize it as a stopped state.
(lwp_pool_continue_all, lwp_pool_continue_lwp,
lwp_pool_singlestep_lwp): Continue and check for the boring status
here, instead of in lwp_pool_waitpid.
(lwp_pool_continue_and_drop_lwp): Just call lwp_pool_continue_lwp,
instead of writing out its contents again here.
Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/rda/unix/lwp-pool.c.diff?cvsroot=src&only_with_tag=jimb-rda-nptl-branch&r1=1.1.2.3&r2=1.1.2.4
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/rda/unix/ChangeLog.diff?cvsroot=src&only_with_tag=jimb-rda-nptl-branch&r1=1.36.2.18&r2=1.36.2.19
More information about the Src-cvs
mailing list