Introduce getcpu() system call from glibc

This commit is contained in:
Justine Tunney 2024-02-21 18:13:30 -08:00
parent 3eb405e0e2
commit 77a92f517b
No known key found for this signature in database
GPG key ID: BE714B4575D6E328
7 changed files with 111 additions and 4 deletions

View file

@ -118,6 +118,9 @@ bool32 GetSystemTimeAdjustment(uint32_t *lpTimeAdjustment,
void GetCurrentProcessorNumberEx(struct NtProcessorNumber *out_ProcNumber);
bool32 GetNumaProcessorNodeEx(const struct NtProcessorNumber *Processor,
unsigned short *out_NodeNumber);
#if ShouldUseMsabiAttribute()
#include "libc/nt/thunk/synchronization.inc"
#endif /* ShouldUseMsabiAttribute() */