This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug nptl/5245] pthread_create returns ENOMEM instead of EAGAIN


------- Additional Comments From wangf at cn dot fujitsu dot com  2007-11-08 01:07 -------
pthread_create() calls the static function creat_thread(), and this funciton 
at last calls __clone(), __clone() may set errno to ENOMEM. So why not check 
the ENOMEM in pthread_create(), it won't miss any ENOMEM case.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |


http://sourceware.org/bugzilla/show_bug.cgi?id=5245

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]