diff options
author | Pino Toscano <toscano.pino@tiscali.it> | 2012-09-15 19:14:21 +0200 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2012-09-15 21:43:06 +0200 |
commit | ce51f55217a6dc7f1e611d10e0b09c6d39152a8f (patch) | |
tree | 517e35b1eb00d77d23361764566e048b12d02213 /pthread/pt-initialize.c | |
parent | 549aba4335946c26f2701c2b43be0e6148d27c09 (diff) |
pthread_create: turn ENOMEM to EAGAIN
ENOMEM can be returned if some malloc fail, but it is not a valid POSIX error number for pthread_create;
thus turn it to EAGAIN.
* pthread/pt-create.c (pthread_create): Turn ENOMEM to EAGAIN.
Diffstat (limited to 'pthread/pt-initialize.c')
0 files changed, 0 insertions, 0 deletions