summaryrefslogtreecommitdiff
path: root/test/test_pass_cfunction.lua
diff options
context:
space:
mode:
authorAlexey Melnichuk <alexeymelnichuck@gmail.com>2017-03-21 15:48:31 +0300
committerAlexey Melnichuk <alexeymelnichuck@gmail.com>2017-03-21 15:48:31 +0300
commit2c5f337169b6377cd43e699f557f46846ccdde7b (patch)
treecaf22bce2a5a2498455db53fcaef6b1315f29a4d /test/test_pass_cfunction.lua
parentdb584d359b59fc70153c91697fd2328bdf3b86e9 (diff)
downloadlua-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