[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
RE: 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: RE: where to setup pd->cancelbuf for a fork() process? thanks.
- Date: Wed, 5 Mar 2003 10:43:36 +0800
Sorry I didn't make my problem clear. Here is the point.
process pd initial
setjmp()
init process of main() __pthread_initialize_minimal()
__libc_start_main()
thread created by allocate_stack()
start_thread()
pthread_create() & copy_thread()
process ??
??
created by fork()
thanks.
[ I am reading the glibc fork() code and try to figure it out.]
boris
> -----Original Message-----
> From: Saurabh Desai [mailto:sdesai austin ibm com]
> Sent: 2003?3?5? 2:05
> To: phil-list redhat com
> Subject: Re: where to setup pd->cancelbuf for a fork()
> process? thanks.
>
>
>
> > My problem is where to set the process of do_test()'s
> pd->cancelbuf for it
> > is
> > created by fork() instead of pthread_create().
> >
> It's done in the __libc_start_main() (see
> sysdeps/generic/libc-start.c).
>
> - Saurabh
>
>
>
> --
> Phil-list mailing list
> Phil-list redhat com
> https://listman.redhat.com/mailman/listinfo/phil-list
>
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]