diff options
author | Alexey Melnichuk <alexeymelnichuck@gmail.com> | 2017-03-21 15:48:31 +0300 |
---|---|---|
committer | Alexey Melnichuk <alexeymelnichuck@gmail.com> | 2017-03-21 15:48:31 +0300 |
commit | 2c5f337169b6377cd43e699f557f46846ccdde7b (patch) | |
tree | caf22bce2a5a2498455db53fcaef6b1315f29a4d /test/test_pass_cfunction.lua | |
parent | db584d359b59fc70153c91697fd2328bdf3b86e9 (diff) | |
download | lua-llthreads2-2c5f337169b6377cd43e699f557f46846ccdde7b.tar.gz lua-llthreads2-2c5f337169b6377cd43e699f557f46846ccdde7b.tar.bz2 lua-llthreads2-2c5f337169b6377cd43e699f557f46846ccdde7b.zip |
Fix. Correctly handle error from `_beginthreadex` (close #12)
`_beginthread` returns -1 in case of error, but `_beginthreadex` returns 0.
https://msdn.microsoft.com/en-us/library/kdzttdcb.aspx
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions