From mboxrd@z Thu Jan 1 00:00:00 1970 From: bert.wesarg@googlemail.com (Bert Wesarg) Date: Mon, 9 Feb 2009 18:35:38 +0100 Subject: [ltt-dev] [RFC git tree] Userspace RCU (urcu) for Linux (repost) In-Reply-To: <20090209173427.GC6802@linux.vnet.ibm.com> References: <20090206030543.GB8560@Krystal> <20090206045841.GA12995@Krystal> <20090206130640.GB10918@linux.vnet.ibm.com> <20090206163432.GF10918@linux.vnet.ibm.com> <20090208224419.GA19512@Krystal> <20090209041153.GR7120@linux.vnet.ibm.com> <20090209045352.GA28653@Krystal> <20090209131653.GS7120@linux.vnet.ibm.com> <36ca99e90902090919r297ad4c3re2248c321b36baf8@mail.gmail.com> <20090209173427.GC6802@linux.vnet.ibm.com> Message-ID: <36ca99e90902090935u7fef1cb1g27303e546527e3d8@mail.gmail.com> On Mon, Feb 9, 2009 at 18:34, Paul E. McKenney wrote: > On Mon, Feb 09, 2009 at 06:19:45PM +0100, Bert Wesarg wrote: >> On Mon, Feb 9, 2009 at 14:16, Paul E. McKenney >> wrote: >> > On Sun, Feb 08, 2009 at 11:53:52PM -0500, Mathieu Desnoyers wrote: >> >> Yes, I guess the signal is not so bad. >> > >> > Now if there were a /proc entry that listed out the tids of the >> > currently running threads, then it might be possible to do something, >> > especially for applications with many more threads than CPUs. >> >> Do you mean something like: `ls /proc/$pid/tasks/*`? Or is this not >> atomic enough? > > Won't that give me all the threads rather than only the ones currently > running? What do you mean by 'running'? Bert > > Thanx, Paul >