Re: rthread suspension

2013-03-22 Thread James Turner
On Fri, Mar 22, 2013 at 11:19:43PM -0400, James Turner wrote: > On Fri, Mar 22, 2013 at 10:05:49PM -0500, Kurt Miller wrote: > > On Friday 22 March 2013 4:08:47 pm James Turner wrote: > > > On Thu, Mar 21, 2013 at 10:01:42PM -0500, Kurt Miller wrote: > > [snip] > > > > > I stalled on submitting t

Re: rthread suspension

2013-03-22 Thread Kurt Miller
On Friday 22 March 2013 4:08:47 pm James Turner wrote: > On Thu, Mar 21, 2013 at 10:01:42PM -0500, Kurt Miller wrote: > > On Thursday 21 March 2013 7:47:34 am Brad Smith wrote: > > > On Thu, Mar 21, 2013 at 11:43:15AM +, Stuart Henderson wrote: > > > > On 2013/03/21 12:32, Taylan Ulrich B. wrot

Re: rthread suspension

2013-03-22 Thread Kurt Miller
On 03/22/13 08:35, Stuart Henderson wrote: > On 2013/03/21 22:01, Kurt Miller wrote: >> I stalled on submitting them with upstream. I ran into a snafu. However, I >> do have an update for boehm-gc that can be tested. There's one i386 >> machine in my cluster that doesn't behave which is one of the

Re: rthread suspension

2013-03-22 Thread James Turner
On Thu, Mar 21, 2013 at 10:01:42PM -0500, Kurt Miller wrote: > On Thursday 21 March 2013 7:47:34 am Brad Smith wrote: > > On Thu, Mar 21, 2013 at 11:43:15AM +, Stuart Henderson wrote: > > > On 2013/03/21 12:32, Taylan Ulrich B. wrote: > > > > Stuart Henderson writes: > > > > > > > > > As I sa

Re: rthread suspension

2013-03-22 Thread Stuart Henderson
On 2013/03/21 22:01, Kurt Miller wrote: > I stalled on submitting them with upstream. I ran into a snafu. However, I > do have an update for boehm-gc that can be tested. There's one i386 > machine in my cluster that doesn't behave which is one of the reasons > I haven't moved this forward yet. It

Re: rthread suspension

2013-03-22 Thread Taylan Ulrich B.
Kurt Miller writes: > I stalled on submitting them with upstream. I ran into a snafu. However, I > do have an update for boehm-gc that can be tested. There's one i386 > machine in my cluster that doesn't behave which is one of the reasons > I haven't moved this forward yet. It is on my todo list

Re: rthread suspension

2013-03-22 Thread Taylan Ulrich B.
Ted Unangst writes: > On Thu, Mar 21, 2013 at 11:03, Taylan Ulrich B. wrote: >> I'm a GNU Guile 2.0 user, whose latest versions require latest >> versions of the Boehm garbage collector. This uses the functions >> pthread_suspend_np and pthread_resume_np, when built on OpenBSD, which >> don't exi

Re: rthread suspension

2013-03-21 Thread Kurt Miller
On Thursday 21 March 2013 7:47:34 am Brad Smith wrote: > On Thu, Mar 21, 2013 at 11:43:15AM +, Stuart Henderson wrote: > > On 2013/03/21 12:32, Taylan Ulrich B. wrote: > > > Stuart Henderson writes: > > > > > > > As I said, "perhaps the uthread workarounds that we used to have > > > > in the

Re: rthread suspension

2013-03-21 Thread Ted Unangst
On Thu, Mar 21, 2013 at 11:03, Taylan Ulrich B. wrote: > I'm a GNU Guile 2.0 user, whose latest versions require latest > versions of the Boehm garbage collector. This uses the functions > pthread_suspend_np and pthread_resume_np, when built on OpenBSD, which > don't exist in rthreads. Right. Ear

Re: rthread suspension

2013-03-21 Thread Brad Smith
On Thu, Mar 21, 2013 at 11:43:15AM +, Stuart Henderson wrote: > On 2013/03/21 12:32, Taylan Ulrich B. wrote: > > Stuart Henderson writes: > > > > > As I said, "perhaps the uthread workarounds that we used to have > > > in the port got committed upstream and now need to be reverted?" > > > > >

Re: rthread suspension

2013-03-21 Thread Stuart Henderson
On 2013/03/21 12:32, Taylan Ulrich B. wrote: > Stuart Henderson writes: > > > As I said, "perhaps the uthread workarounds that we used to have > > in the port got committed upstream and now need to be reverted?" > > > > i.e. _used_ to have, before the change to rthreads. > > Oh sorry, I und

Re: rthread suspension

2013-03-21 Thread Taylan Ulrich B.
Stuart Henderson writes: > As I said, "perhaps the uthread workarounds that we used to have > in the port got committed upstream and now need to be reverted?" > > i.e. _used_ to have, before the change to rthreads. Oh sorry, I understand now. Indeed, the patches in e.g. 5.0 ports seem equi

Re: rthread suspension

2013-03-21 Thread Stuart Henderson
On 2013/03/21 11:51, Taylan Ulrich B. wrote: > Stuart Henderson writes: > > > the current boehm-gc port works with rthreads, best way forward is > > probably to update that to a newer version, maintaining the patches that > > we have. > > > > perhaps the uthread workarounds that we used to have i

Re: rthread suspension

2013-03-21 Thread Taylan Ulrich B.
Stuart Henderson writes: > the current boehm-gc port works with rthreads, best way forward is > probably to update that to a newer version, maintaining the patches that > we have. > > perhaps the uthread workarounds that we used to have in the port got > committed upstream and now need to be reve

Re: rthread suspension

2013-03-21 Thread Stuart Henderson
On 2013/03/21 11:03, Taylan Ulrich B. wrote: > I'm a GNU Guile 2.0 user, whose latest versions require latest > versions of the Boehm garbage collector. This uses the functions > pthread_suspend_np and pthread_resume_np, when built on OpenBSD, which > don't exist in rthreads. the current boehm-gc

rthread suspension

2013-03-21 Thread Taylan Ulrich B.
I'm a GNU Guile 2.0 user, whose latest versions require latest versions of the Boehm garbage collector. This uses the functions pthread_suspend_np and pthread_resume_np, when built on OpenBSD, which don't exist in rthreads. I've read that rthreads are just processes, albeit with a special flag se