2011-02-12 00:22:29 -05:00
|
|
|
#include "pthread_impl.h"
|
|
|
|
|
2011-08-03 19:45:21 -04:00
|
|
|
static void dummy(struct __ptcb *cb)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
weak_alias(dummy, __pthread_do_unwind);
|
2011-08-03 19:57:46 -04:00
|
|
|
weak_alias(dummy, __pthread_do_register);
|
|
|
|
weak_alias(dummy, __pthread_do_unregister);
|
2011-08-03 19:45:21 -04:00
|
|
|
|
|
|
|
void __pthread_unwind_next(struct __ptcb *cb)
|
|
|
|
{
|
|
|
|
__pthread_do_unwind(cb);
|
|
|
|
}
|
|
|
|
|
2011-02-12 00:22:29 -05:00
|
|
|
void __pthread_register_cancel(struct __ptcb *cb)
|
|
|
|
{
|
2011-08-03 19:57:46 -04:00
|
|
|
__pthread_do_register(cb);
|
2011-02-12 00:22:29 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
void __pthread_unregister_cancel(struct __ptcb *cb)
|
|
|
|
{
|
2011-08-03 19:57:46 -04:00
|
|
|
__pthread_do_unregister(cb);
|
2011-02-12 00:22:29 -05:00
|
|
|
}
|