summaryrefslogtreecommitdiff
path: root/src/thread/cancellation.c
blob: b02cdfb093cc528413cc79f1384f19418335b0d6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#include "pthread_impl.h"

static void dummy(struct __ptcb *cb)
{
}
weak_alias(dummy, __pthread_do_unwind);
weak_alias(dummy, __pthread_do_register);
weak_alias(dummy, __pthread_do_unregister);

void __pthread_unwind_next(struct __ptcb *cb)
{
	__pthread_do_unwind(cb);
}

void __pthread_register_cancel(struct __ptcb *cb)
{
	__pthread_do_register(cb);
}

void __pthread_unregister_cancel(struct __ptcb *cb)
{
	__pthread_do_unregister(cb);
}