This is the mail archive of the
libc-alpha@sourceware.cygnus.com
mailing list for the glibc project.
Re: Help: Unwinding the C++ stack...throw, longjmp & threads
"George T. Talbot" <george@moberg.com> writes:
> I don't understand what you need. Do you need the return to actually
> call some function like _pthread_cleanup_pop()?
Yes.
> If something is TRUE, and the function returns at the return statement,
> then _pthread_cleanup_pop(&_buffer, (execute)) will not get called, and
> the library will leave the cleanup handler registered when the scope is
> exited. That doesn't seem right.
I'm calling n some situations _pthread_cleanup_pop directly. I can do
this since the thread library is also part of glibc.
--
---------------. drepper at gnu.org ,-. 1325 Chesapeake Terrace
Ulrich Drepper \ ,-------------------' \ Sunnyvale, CA 94089 USA
Cygnus Solutions `--' drepper at cygnus.com `------------------------
- References:
- Re: Help: Unwinding the C++ stack...throw, longjmp & threads
- From: Oleg Krivosheev <kriol@fnal.gov>
- Re: Help: Unwinding the C++ stack...throw, longjmp & threads
- From: "George T. Talbot" <george@moberg.com>
- Re: Help: Unwinding the C++ stack...throw, longjmp & threads
- From: Ulrich Drepper <drepper@cygnus.com>
- Re: Help: Unwinding the C++ stack...throw, longjmp & threads
- From: "George T. Talbot" <george@moberg.com>
- Re: Help: Unwinding the C++ stack...throw, longjmp & threads
- From: Ulrich Drepper <drepper@cygnus.com>
- Re: Help: Unwinding the C++ stack...throw, longjmp & threads
- From: "George T. Talbot" <george@moberg.com>
- Re: Help: Unwinding the C++ stack...throw, longjmp & threads
- From: Ulrich Drepper <drepper@cygnus.com>
- Re: Help: Unwinding the C++ stack...throw, longjmp & threads
- From: "George T. Talbot" <george@moberg.com>
- Re: Help: Unwinding the C++ stack...throw, longjmp & threads
- From: Ulrich Drepper <drepper@cygnus.com>
- Re: Help: Unwinding the C++ stack...throw, longjmp & threads
- From: "George T. Talbot" <george@moberg.com>