bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] libpthread: pthread_create: turn ENOMEM to EAGAIN


From: Pino Toscano
Subject: [PATCH] libpthread: pthread_create: turn ENOMEM to EAGAIN
Date: Sat, 15 Sep 2012 19:27:18 +0200
User-agent: KMail/1.13.7 (Linux/3.2.0-3-amd64; KDE/4.8.4; x86_64; ; )

Hi,

it seems that in some occasions (i.e on malloc failure) pthread_create 
can return ENOMEM, which is not a valid POSIX error number.
Attached there is a patch for libpthread to normalize ENOMEM to EAGAIN.

Thanks,
-- 
Pino Toscano

Attachment: 0001-pthread_create-turn-ENOMEM-to-EAGAIN.patch
Description: Text Data

Attachment: signature.asc
Description: This is a digitally signed message part.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]