Skip to content

Commit 643cdd5

Browse files
committed
fix thread id & 3 != 0 issue
1 parent 17e7fed commit 643cdd5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Release/src/pplx/linux/pplxlinux.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ namespace details {
4141
{
4242
_PPLXIMP long GetCurrentThreadId()
4343
{
44-
return (long)syscall(SYS_gettid);
44+
return (long)syscall(SYS_gettid) * 4;
4545
}
4646

4747
_PPLXIMP void YieldExecution()

0 commit comments

Comments
 (0)