lib: c: pthread: implement pthread_self

This commit is contained in:
2026-03-22 19:08:42 +00:00
parent 33888e364b
commit dd46a378b3
3 changed files with 40 additions and 3 deletions

View File

@@ -1,9 +1,9 @@
.code64
.global pthread_self
.type pthread_self, @function
.global __pthread_self
.type __pthread_self, @function
pthread_self:
__pthread_self:
push %rbp
mov %rsp, %rbp