[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
where to setup pd->cancelbuf for a fork() process? thanks.
- From: "Hu, Boris" <boris hu intel com>
- To: "NPTL list (E-mail)" <phil-list redhat com>
- Subject: where to setup pd->cancelbuf for a fork() process? thanks.
- Date: Tue, 4 Mar 2003 22:21:45 +0800
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]