GIT.Harvie.CZ
/
mirrors
/
Programs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Thread registry is now protected by mutex
[mirrors/Programs.git]
/
c
/
pthread_extra
/
pthread_pause.c
diff --git
a/c/pthread_extra/pthread_pause.c
b/c/pthread_extra/pthread_pause.c
index 409d57038ab8d6b69c7233e6ddffedbce879c079..c6b96f6d8a0518907c477971c7f63da366cabaa7 100644
(file)
--- 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
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:
//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
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;
//Block signal
sigset_t sigset;
This page took
0.098613 seconds
and
4
git commands to generate.