From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3496 invoked by alias); 30 Jul 2014 04:07:51 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Received: (qmail 3381 invoked by uid 48); 30 Jul 2014 04:07:42 -0000 From: "carlos at redhat dot com" To: glibc-bugs@sourceware.org Subject: [Bug nptl/17214] Expose a function to reset the PID cache Date: Wed, 30 Jul 2014 04:07:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: nptl X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: carlos at redhat dot com X-Bugzilla-Status: NEW X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2014-07/txt/msg00685.txt.bz2 https://sourceware.org/bugzilla/show_bug.cgi?id=17214 Carlos O'Donell changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |carlos at redhat dot com --- Comment #1 from Carlos O'Donell --- (In reply to Steven Stewart-Gallus from comment #0) > GLibc caches PIDs. Much has been said about this. Regardless, some people > have to use the low level clone system call which does not update the PID > cache (for making new processes only, trying to make one's own threads that > interact with NPTL would be a mess). I would like a way to reset the PID > cache so that the low level clone system call is usable. Can you help me understand what you use clone for in this case? What clone flags are you using? -- You are receiving this mail because: You are on the CC list for the bug.