vlc | branch: master | KO Myung-Hun <[email protected]> | Sun Mar 3 00:11:06 2013 +0900| [bb449cfcbd4f97ce5465cc7e7331534a2b9c4663] | committer: Rémi Denis-Courmont
vlccore: return EAGAIN on vlc_threadvar_create() failure on OS/2 Like pthread. Signed-off-by: Rémi Denis-Courmont <[email protected]> > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=bb449cfcbd4f97ce5465cc7e7331534a2b9c4663 --- src/os2/thread.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/os2/thread.c b/src/os2/thread.c index 07b879d..ea7c676 100644 --- a/src/os2/thread.c +++ b/src/os2/thread.c @@ -381,7 +381,7 @@ int vlc_threadvar_create (vlc_threadvar_t *p_tls, void (*destr) (void *)) if( rc ) { free (var); - return ENOMEM; + return EAGAIN; } var->destroy = destr; _______________________________________________ vlc-commits mailing list [email protected] http://mailman.videolan.org/listinfo/vlc-commits
