This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug nptl/13433] pthread_create allocates big chunks of memory when launching several threads simultaneously (race condition?)
- From: "sources at shustrik dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: Fri, 01 Jun 2012 12:06:14 +0000
- Subject: [Bug nptl/13433] pthread_create allocates big chunks of memory when launching several threads simultaneously (race condition?)
- Auto-submitted: auto-generated
- References: <bug-13433-131@http.sourceware.org/bugzilla/>
http://sourceware.org/bugzilla/show_bug.cgi?id=13433
Andrejs <sources at shustrik dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |INVALID
--- Comment #2 from Andrejs <sources at shustrik dot com> 2012-06-01 12:06:14 UTC ---
Indeed, simply replacing boost::this_thread::sleep with usleep has removed the
occurence of the unnecessary allocation completely. Thanks for your help!
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.