Re: [lttng-dev] URCU and pthread mutex/cond variable hang

2015-03-10 Thread Mathieu Desnoyers
- Original Message - > From: "Jeff Layton" > To: "Mathieu Desnoyers" > Cc: lttng-dev@lists.lttng.org > Sent: Tuesday, March 10, 2015 3:25:39 PM > Subject: Re: [lttng-dev] URCU and pthread mutex/cond variable hang > > On Tue, 10 Mar 2015 00:43:

Re: [lttng-dev] URCU and pthread mutex/cond variable hang

2015-03-10 Thread Jeff Layton
On Tue, 10 Mar 2015 00:43:09 + (UTC) Mathieu Desnoyers wrote: > - Original Message - > > From: "Jeff Layton" > > To: lttng-dev@lists.lttng.org > > Sent: Tuesday, March 3, 2015 3:40:14 PM > > Subject: [lttng-dev] URCU and pthread mutex/cond variab

Re: [lttng-dev] URCU and pthread mutex/cond variable hang

2015-03-09 Thread Mathieu Desnoyers
- Original Message - > From: "Jeff Layton" > To: lttng-dev@lists.lttng.org > Sent: Tuesday, March 3, 2015 3:40:14 PM > Subject: [lttng-dev] URCU and pthread mutex/cond variable hang > > I've been using urcu to develop some userland code, and I've r

[lttng-dev] URCU and pthread mutex/cond variable hang

2015-03-03 Thread Jeff Layton
I've been using urcu to develop some userland code, and I've run into a problem that I don't quite understand. If I register a thread and then have that thread block on a pthread condition variable, then it seems to cause synchronize_rcu in another thread to hang. I've attached a testcase that dem