clarify the purpose of this project
[nyanglibc.git] / nptl / pthread_setconcurrency.s
blob6034b2d3396f604bcb9cd162fdbc4155e05f5718
1 .text
2 .p2align 4,,15
3 .globl pthread_setconcurrency
4 .type pthread_setconcurrency, @function
5 pthread_setconcurrency:
6 testl %edi, %edi
7 js .L3
8 movl %edi, __concurrency_level(%rip)
9 xorl %eax, %eax
10 ret
11 .p2align 4,,10
12 .p2align 3
13 .L3:
14 movl $22, %eax
15 ret
16 .size pthread_setconcurrency, .-pthread_setconcurrency
17 .comm __concurrency_level,4,4