[M3devel] RC merge

Jay K jay.krell at cornell.edu
Fri Sep 11 23:30:22 CEST 2009


Correct ThreadWin32 not ThreadPThread or ThreadPosix.
I narrowed the problem down to a 30 minute window in Februrary (see older mail).
I'll try again with recent changes (esp. if they are in common code, which I don't think they are)

 - Jay


From: hosking at cs.purdue.edu
To: jay.krell at cornell.edu
Date: Fri, 11 Sep 2009 16:43:29 -0400
CC: m3devel at elegosoft.com
Subject: Re: [M3devel] RC merge

On 11 Sep 2009, at 16:05, Jay K wrote:Tony I'll double check if I see the hang. NT386 still crashes.

That's ThreadWin32 right?

http://www.modula3.com/cm3/ChangeLog-2009

"
2009-09-08 05:54 hosking

  * m3-libs/m3core/src/: convert/CConvert.m3,
    runtime/common/RTAllocator.m3, runtime/common/RTCollector.m3,
    runtime/common/RTCollectorSRC.i3, runtime/common/RTHeapInfo.m3,
    runtime/common/RTHeapRep.i3, runtime/common/RTHeapRep.m3,
    runtime/common/RTHeapStats.m3, runtime/common/RTLinker.m3,
    runtime/common/RTOS.i3, runtime/ex_frame/RTExFrame.m3,
    runtime/ex_stack/RTExStack.m3, thread/POSIX/ThreadF.i3,
    thread/POSIX/ThreadPosix.m3, thread/PTHREAD/ThreadF.i3,
    thread/PTHREAD/ThreadPThread.m3, thread/WIN32/ThreadF.i3,
    thread/WIN32/ThreadWin32.m3:

  Tidy up use of thread.inCritical to only occur in allocation sequences and in
  thread stoppage.  This simplifies reasoning.  Refactored use of heap lock
  in the process.  This may be better implemented on PTHREAD targets using a
  recursive pthread mutex instead of one we roll ourselves from a non-recursive
  mutex.

  Still witnessing random hangs in Juno and mentor on I386_DARWIN.
  Strange, I thought this was working previously.
  I wonder if there is some sort of race in the GUI code somewhere?
"

??-  Jay


From: hosking at cs.purdue.edu
To: jay.krell at cornell.edu
Date: Fri, 11 Sep 2009 12:46:19 -0400
CC: m3devel at elegosoft.com
Subject: Re: [M3devel] RC merge

No, the hangs in Juno and mentor are no longer there.  I cannot reproduce them on I386_DARWIN.

On 11 Sep 2009, at 10:24, Jay K wrote:But the hangs are still present, right? Worth merging without that fixed?
 
How does one do it easily?
I wish we used Perforce. :(

 - Jay

 
From: hosking at cs.purdue.edu
To: m3devel at elegosoft.com
Date: Fri, 11 Sep 2009 09:45:23 -0400
Subject: [M3devel] RC merge

Can someone merge my recent deep fixes to pthreads threading over to the release branch?  I won't get a chance to do so until next Monday at the earliest.

Antony Hosking | Associate Professor | Computer Science | Purdue University305 N. University Street | West Lafayette | IN 47907 | USAOffice +1 765 494 6001 | Mobile +1 765 427 5484


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://m3lists.elegosoft.com/pipermail/m3devel/attachments/20090911/48ce8423/attachment-0002.html>


More information about the M3devel mailing list