Khronos Vulkan, OpenGL, and OpenGL ES Conformance Tests
525
stars
293
forks
source link
Why the return value will be greater than 0 when calling syscall(__NR_sched_getaffinity) in framework/delibs/dethread/unix/deThreadUnix.c #460
Open
innosilion opened 4 months ago
I don't kown under what circumstances it will bu greater than 0. this is not confirm to the calling habits of unix systems.
ret = syscall(_NR_sched_etaffinity,0,maskSize,&mask) if (ret>0) { ..... }