X-Git-Url: https://git.harvie.cz/?a=blobdiff_plain;f=c%2Fpthread_extra%2Fpthread_extra.h;h=ca5514d26f6bf04992b88f6b11c54b36e33d032f;hb=dec91d377d95ff0388a1d2297bb9c88ea076bd78;hp=58a98e368750d356664e09395ae89c2b2dc64d19;hpb=86166123aef3c81e6e05cd6dcdc73ea93b5775a1;p=mirrors%2FPrograms.git diff --git a/c/pthread_extra/pthread_extra.h b/c/pthread_extra/pthread_extra.h index 58a98e3..ca5514d 100644 --- a/c/pthread_extra/pthread_extra.h +++ b/c/pthread_extra/pthread_extra.h @@ -18,8 +18,9 @@ #ifdef __PTHREAD_EXTRA_INTERNAL typedef struct pthread_user_data_internal_t { pthread_t tid; //Thread ID - sig_atomic_t running; //Internaly used by pthread_pause void *usr; //User pointer + //Internaly used members: + sig_atomic_t running; //pthread_pause } pthread_user_data_internal_t; pthread_user_data_internal_t* pthread_user_data_internal(pthread_t thread);