Status of uClibc NPTL and C++ on ARM

Phil Endecott spam_from_uclibc at chezphil.org
Tue Feb 5 17:45:24 UTC 2008


Dear Experts,

I'm trying to understand the status of uClibc's NPTL port on ARM and
how it will function with C++.

As I understand it, NPTL has been ported to uClibc and there is support
for ARM, but it's currently living on a branch at
http://uclibc.org/cgi-bin/viewcvs.cgi/branches/uClibc-nptl.  Right?

In general, POSIX thread cancellation does not work well with C++ as
destructors are not called during cancellation.  In glibc+NPTL,
however, destructors are called (though code in catch blocks might not
be?) as the cancellation handler unwinds the stack.  Can anyone confirm
whether this feature has or hasn't been included in the uClibc port of
NPTL?  Has anyone tested it?  I guess that there may be some
architecture-specific stuff in the stack unwinding, so maybe I also
need to add "...for ARM" to the question.

Many thanks for any advice.  I'm trying to find answers in the source,
but I'm a bit lost at the moment.  Is there any documentation that I
should refer to?


Regards,  Phil.









More information about the uClibc mailing list