Rethinking the futex API - why change the type that uaddr points to?
Rethinking the futex API - why change the type that uaddr points to?
Posted Jun 23, 2020 4:00 UTC (Tue) by pr1268 (guest, #24648)Parent article: Rethinking the futex API
From the futex(2) man page:
int futex(int *uaddr, [...]
And from the proposed patch set mentioned below:
int futex_wait(void *uaddr, [...]
int futex_wait_time32(void *uaddr, [...]
int futex_wake(void *uaddr, [...]
Just curious, and I couldn't find in our editor's article, nor in the comments: why is uaddr being changed from an int * to a void *?
