Skip to content

Commit

Permalink
Revert Linux related changes from #739.
Browse files Browse the repository at this point in the history
  • Loading branch information
kris-rowe committed Feb 5, 2024
1 parent d53e058 commit 39908af
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/occa/internal/utils/sys.cpp
Expand Up @@ -407,8 +407,7 @@ namespace occa {
pthread_threadid_np(nullptr, &tid64);
pid_t tid = (pid_t)tid64;
#else
uint64_t tid;
tid = pthread_mach_thread_np(pthread_self());
pid_t tid = syscall(SYS_gettid);
#endif
return tid;
#else
Expand Down

0 comments on commit 39908af

Please sign in to comment.