summaryrefslogtreecommitdiff
path: root/src/thread/i386/cancellation.s
blob: 75dc60913eadc98f03454a3ba2ed57539f3285f2 (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
24
25
26
27
28
29
30
31
32
33
34
.text
.global __pthread_register_cancel
.type   __pthread_register_cancel,@function
__pthread_register_cancel:
	pushl %eax
	call __pthread_do_register
	popl %eax
	ret

.global __pthread_unregister_cancel
.type   __pthread_unregister_cancel,@function
__pthread_unregister_cancel:
	pushl %eax
	call __pthread_do_unregister
	popl %eax
	ret

.global __pthread_unwind_next
.type   __pthread_unwind_next,@function
__pthread_unwind_next:
	pushl %eax
	call __pthread_do_unwind
	popl %eax
__pthread_do_unwind:
__pthread_do_register:
__pthread_do_unregister:
	ret

.weak __pthread_do_unwind
.weak __pthread_do_register
.weak __pthread_do_unregister
.type __pthread_do_unwind,@function
.type __pthread_do_register,@function
.type __pthread_do_unregister,@function