File tree 4 files changed +4
-4
lines changed
4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 31
31
__pthread_do_cancel (struct pthread_internal_t * p )
32
32
{
33
33
34
- if (p == pthread_self ())
34
+ if (p == ( struct pthread_internal_t * ) pthread_self ())
35
35
call_exit ();
36
36
else if (p -> attr .flags & PTHREAD_ATTR_FLAG_CANCEL_HANDLER )
37
37
pthread_kill ((pthread_t )p , SIGRTMIN );
Original file line number Diff line number Diff line change 25
25
int
26
26
pthread_setcancelstate (int state , int * oldstate )
27
27
{
28
- struct pthread_internal_t * p = pthread_self ();
28
+ struct pthread_internal_t * p = ( struct pthread_internal_t * ) pthread_self ();
29
29
int newflags ;
30
30
31
31
pthread_init ();
Original file line number Diff line number Diff line change 25
25
int
26
26
pthread_setcanceltype (int type , int * oldtype )
27
27
{
28
- struct pthread_internal_t * p = pthread_self ();
28
+ struct pthread_internal_t * p = ( struct pthread_internal_t * ) pthread_self ();
29
29
int newflags ;
30
30
31
31
pthread_init ();
Original file line number Diff line number Diff line change 24
24
void
25
25
pthread_testcancel (void )
26
26
{
27
- struct pthread_internal_t * p = pthread_self ();
27
+ struct pthread_internal_t * p = ( struct pthread_internal_t * ) pthread_self ();
28
28
int cancelled ;
29
29
30
30
pthread_init ();
You can’t perform that action at this time.
0 commit comments