Add thrd_current for x86-64 linux
This commit is contained in:
parent
14f91b6942
commit
7445d42ad4
8
arch/x64/linux/concurrency/thread.S
Normal file
8
arch/x64/linux/concurrency/thread.S
Normal file
@ -0,0 +1,8 @@
|
||||
.text
|
||||
|
||||
.globl thrd_current
|
||||
.type thrd_current, @function
|
||||
|
||||
thrd_current:
|
||||
mov %fs:0, %rax
|
||||
ret
|
Loading…
Reference in New Issue
Block a user