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 Mar 12, 2024
1 parent 981316d commit 3cba084
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/occa/internal/utils/sys.cpp
Original file line number Diff line number Diff line change
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 3cba084

Please sign in to comment.