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-02 03:49 -------
This is tested with glibc version 2.7.

And the attached patch fixes the bug.

After applying the patch, the test result is:

-----------------------------------------------------------
$ ./test_pthread_create
errno 12: Cannot allocate memory
pthread_cretate returns 11: Resource temporarily unavailable
-----------------------------------------------------------


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|pthread_create returns      |pthread_create returns
                   |ENOMEM instead of EAGAIN    |ENOMEM instead of EAGAIN


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]