Commit bb449cfc authored by KO Myung-Hun's avatar KO Myung-Hun Committed by Rémi Denis-Courmont

vlccore: return EAGAIN on vlc_threadvar_create() failure on OS/2

Like pthread.
Signed-off-by: default avatarRémi Denis-Courmont <remi@remlab.net>
parent 2ff3b97b
...@@ -381,7 +381,7 @@ int vlc_threadvar_create (vlc_threadvar_t *p_tls, void (*destr) (void *)) ...@@ -381,7 +381,7 @@ int vlc_threadvar_create (vlc_threadvar_t *p_tls, void (*destr) (void *))
if( rc ) if( rc )
{ {
free (var); free (var);
return ENOMEM; return EAGAIN;
} }
var->destroy = destr; var->destroy = destr;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment