msvcrt: Make _beginthread() error out as documented.
commit80678c4395db059ba28eb330bf59dc1ae433880d
authorArkadiusz Hiler <ahiler@codeweavers.com>
Wed, 5 May 2021 10:03:10 +0000 (5 13:03 +0300)
committerAlexandre Julliard <julliard@winehq.org>
Wed, 5 May 2021 19:52:23 +0000 (5 21:52 +0200)
tree7e41fb91b7e1a340a9276dadbf3b619d3dc7296a
parentaf2b2d0433dd1a591fe574945699f32d467cd4b0
msvcrt: Make _beginthread() error out as documented.

msvcrt_set_errno() seems to be doing the right thing in case of too many
threads, invalid parameters, etc.

Signed-off-by: Arkadiusz Hiler <ahiler@codeweavers.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
dlls/msvcrt/thread.c