This commit is contained in:
Adeeb Shihadeh 2024-01-17 13:27:54 -08:00
parent 1c6c27c2ce
commit 60ed2627ab
1 changed files with 1 additions and 1 deletions

View File

@ -48,7 +48,7 @@ uint64_t msgq_get_uid(void){
// TODO: this doesn't work
uint64_t uid = distribution(rd) << 32 | getpid();
#else
uint64_t uid = distribution(rd) << 32 | syscall(SYS_gettid);
uint64_t uid = distribution(rd) << 32 | HANDLE_EINTR(syscall(SYS_gettid));
#endif
return uid;