[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

where to setup pd->cancelbuf for a fork() process? thanks.



In tst-join1.c,  the do_test() is created by fork(), while it is
pthread_joined 
by a child thread later.  In pthread_join(), it will call
__longjmp(pd->cancelbuf).
My problem is where to set the process of do_test()'s pd->cancelbuf for it
is 
created by fork() instead of pthread_create(). 

Any hints? thanks. 

  Boris
=========================
To know what I don't know
To learn what I don't know
To contribute what I know
=========================





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]