From: hunt Date: Wed, 30 Nov 2005 08:39:03 +0000 (+0000) Subject: 2005-11-30 Martin Hunt X-Git-Tag: release-0.5~8 X-Git-Url: https://sourceware.org/git/?a=commitdiff_plain;h=fe5679e9bab7ee97b4dc541aaf17d461c520dd02;p=systemtap.git 2005-11-30 Martin Hunt * io.c (_stp_exit): To prevent any possible interactions with the probed function, just set a flag here. --- diff --git a/runtime/ChangeLog b/runtime/ChangeLog index f05012caf..e647f0b8c 100644 --- a/runtime/ChangeLog +++ b/runtime/ChangeLog @@ -1,3 +1,8 @@ +2005-11-30 Martin Hunt + + * io.c (_stp_exit): To prevent any possible interactions + with the probed function, just set a flag here. + 2005-11-28 Graydon Hoare * stat-common.c (_stp_stat_print_histogram): Various formatting diff --git a/runtime/io.c b/runtime/io.c index dd4a90363..cf1789515 100644 --- a/runtime/io.c +++ b/runtime/io.c @@ -116,7 +116,7 @@ void _stp_warn (const char *fmt, ...) */ void _stp_exit (void) { - schedule_work (&stp_exit); + _stp_exit_flag = 1; } /** Prints error message and exits.