Cygwin: implement sched_getcpu
* create new function __get_cpus_per_group to evaluate # of CPU groups * Call from format_proc_cpuinfo and sched_getcpu * Bump API minor version Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
This commit is contained in:
@@ -119,4 +119,6 @@ extern "C" HANDLE WINAPI CygwinCreateThread (LPTHREAD_START_ROUTINE thread_func,
|
||||
|
||||
void SetThreadName (DWORD dwThreadID, const char* threadName);
|
||||
|
||||
WORD __get_cpus_per_group (void);
|
||||
|
||||
#endif /*_MISCFUNCS_H*/
|
||||
|
Reference in New Issue
Block a user