[vlc-devel] [PATCH 1/5] vlccore: return EAGAIN on vlc_threadvar_create() failure on OS/2
KO Myung-Hun
komh78 at gmail.com
Sat Mar 2 16:11:06 CET 2013
Like pthread.
---
src/os2/thread.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
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;
--
1.7.3.2
More information about the vlc-devel
mailing list