mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-05-23 13:52:28 +00:00
Introduce getcpu() system call from glibc
This commit is contained in:
parent
3eb405e0e2
commit
77a92f517b
7 changed files with 111 additions and 4 deletions
|
@ -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() */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue