Rev 5134 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 5134 | Rev 6325 | ||
---|---|---|---|
Line 24... | Line 24... | ||
24 | #include |
24 | #include |
25 | #include |
25 | #include |
26 | #include |
26 | #include |
27 | #include "bits/gthr.h" |
27 | #include "bits/gthr.h" |
Line 28... | Line 28... | ||
28 | 28 | ||
Line 29... | Line 29... | ||
29 | #if HAVE___CXA_THREAD_ATEXIT_IMPL |
29 | #if _GLIBCXX_HAVE___CXA_THREAD_ATEXIT_IMPL |
30 | 30 | ||
31 | extern "C" int __cxa_thread_atexit_impl (void (*func) (void *), |
31 | extern "C" int __cxa_thread_atexit_impl (void (*func) (void *), |
32 | void *arg, void *d); |
32 | void *arg, void *d); |
Line 36... | Line 36... | ||
36 | _GLIBCXX_NOTHROW |
36 | _GLIBCXX_NOTHROW |
37 | { |
37 | { |
38 | return __cxa_thread_atexit_impl (dtor, obj, dso_handle); |
38 | return __cxa_thread_atexit_impl (dtor, obj, dso_handle); |
39 | } |
39 | } |
Line 40... | Line 40... | ||
40 | 40 | ||
Line 41... | Line 41... | ||
41 | #else /* HAVE___CXA_THREAD_ATEXIT_IMPL */ |
41 | #else /* _GLIBCXX_HAVE___CXA_THREAD_ATEXIT_IMPL */ |
42 | 42 | ||
43 | namespace { |
43 | namespace { |
44 | // One element in a singly-linked stack of cleanups. |
44 | // One element in a singly-linked stack of cleanups. |
Line 140... | Line 140... | ||
140 | single_thread = new_elt; |
140 | single_thread = new_elt; |
Line 141... | Line 141... | ||
141 | 141 | ||
142 | return 0; |
142 | return 0; |
Line 143... | Line 143... | ||
143 | } |
143 | } |