[M3devel] formsedit crash
Dragiša Durić
dragisha at m3w.org
Sat Sep 19 00:40:15 CEST 2009
Not only inCritical, user space threads are in circular list and
scheduler runs (in circles :) ) through it. Meaning, if B comes after A
and before C, it's always executed before C after A's timeslice- if
ready.
On Fri, 2009-09-18 at 08:47 -0400, Tony Hosking wrote:
> Not exactly. The inCritical counter means there are lots of places
> that serialize.
>
> Antony Hosking | Associate Professor | Computer Science | Purdue
> University
> 305 N. University Street | West Lafayette | IN 47907 | USA
> Office +1 765 494 6001 | Mobile +1 765 427 5484
>
>
>
>
>
>
>
> On 18 Sep 2009, at 06:12, Jay K wrote:
>
> > I thought about this a little..but..don't Modula-3 user threads
> > preempt at arbitrary points?
> >
> > - Jay
> >
> >
> > > From: dragisha at m3w.org
> > > To: jay.krell at cornell.edu
> > > Date: Fri, 18 Sep 2009 11:37:48 +0200
> > > CC: m3devel at elegosoft.com
> > > Subject: Re: [M3devel] formsedit crash
> > >
> > > I've had some funny race/thread-order conditions when I was
> > switching to
> > > pthreads.... Someone lazy got too grooved in with fixed order of
> > > execution implied by how user threads work. It was in pp package
> > and
> > > also somewhere I can't remember right now... Will look a bit
> > through hm3
> > > svn (dead in house spinoff of pm3 from times when all mainstream
> > m3 had
> > > was user threads).
> > >
> > > On Fri, 2009-09-18 at 07:49 +0000, Jay K wrote:
> > > > I have it further narrowed down to the last two weeks of 1/2007.
> > > > Which is just a few changes.
> > > > I fear it is the switch from user threads to pthreads on
> > 1/23/2007.
> > > > I'll narrow it down further though, and then try user threads on
> > > > Solaris
> > > > (which will probably require repairing initialization order to
> > make
> > > > them work
> > > > again anyway).
> > > >
> > > > - Jay
> > > >
> > > >
> > > >
> > > >
> > ______________________________________________________________________
> > > > From: jay.krell at cornell.edu
> > > > To: m3devel at elegosoft.com
> > > > Subject: formsedit crash
> > > > Date: Wed, 16 Sep 2009 15:18:54 +0000
> > > >
> > > > The formsedit crash appears to have started between 12/1/2006
> > and
> > > > 3/1/2007.
> > > > I will confirm and further narrow this down over the next few
> > days.
> > > > I've been building various dates/versions and seeing how they
> > act.
> > > >
> > > > - Jay
> > > >
> > > >
> > > >
> > > >
> > > --
> > > Dragiša Durić <dragisha at m3w.org>
> > >
> >
>
--
Dragiša Durić <dragisha at m3w.org>
More information about the M3devel
mailing list