aboutsummaryrefslogtreecommitdiff
path: root/src/link.cpp
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2019-04-05 16:04:27 -0400
committerAndrew Kelley <andrew@ziglang.org>2019-04-05 16:06:35 -0400
commitfd65cdc55a21640cf67a4a1b6ff8b58ad8c390fd (patch)
treea11207e17878cf28be03a1076bdfe14603407e7a /src/link.cpp
parentc47c2a2f2a518c8878a081dd30a631f5bc21eefa (diff)
downloadzig-fd65cdc55a21640cf67a4a1b6ff8b58ad8c390fd.tar.gz
zig-fd65cdc55a21640cf67a4a1b6ff8b58ad8c390fd.zip
fix incorrect Thread.getCurrentId test
Documentation comments copied here: On Linux, it is possible that the thread spawned with `spawnThread` finishes executing entirely before the clone syscall completes. In this case, `std.os.Thread.handle` will return 0 rather than the no-longer-existing thread's pid.
Diffstat (limited to 'src/link.cpp')
0 files changed, 0 insertions, 0 deletions