X-Git-Url: http://git.harvie.cz/?a=blobdiff_plain;f=c%2Fpthread_extra%2Fpthread_pause.c;h=c6b96f6d8a0518907c477971c7f63da366cabaa7;hb=238a70320639c49bc44c74588fd94cd435dfa4c3;hp=409d57038ab8d6b69c7233e6ddffedbce879c079;hpb=dec91d377d95ff0388a1d2297bb9c88ea076bd78;p=mirrors%2FPrograms.git diff --git a/c/pthread_extra/pthread_pause.c b/c/pthread_extra/pthread_pause.c index 409d570..c6b96f6 100644 --- a/c/pthread_extra/pthread_pause.c +++ b/c/pthread_extra/pthread_pause.c @@ -37,7 +37,7 @@ void pthread_pause_handler(const int signal, siginfo_t *info, void *ptr) { void pthread_pause_enable() { //Add thread to internal registry - pthread_user_data_internal(pthread_self()); + //pthread_user_data_internal(pthread_self()); //Nesting signals too deep is not good for stack //You can get runtime stats using following command: @@ -66,7 +66,7 @@ void pthread_pause_enable() { void pthread_pause_disable() { //Add thread to internal registry - pthread_user_data_internal(pthread_self()); + //pthread_user_data_internal(pthread_self()); //Block signal sigset_t sigset;