[M3devel] TimePosix__ComputeGrain

Jay K jay.krell at cornell.edu
Tue Aug 17 23:20:01 CEST 2010


I have now often seen cm3 hang starting up.
Here:

(gdb) bt
#0  0x000003ff8010aed8 in gettimeofday64 () from /usr/shlib/libc.so
#1  0x00000001205168a4 in TimePosix__Now ()
    at ../src/time/POSIX/TimePosixC.c:41
#2  0x0000000120516924 in ComputeGrainOnce ()
    at ../src/time/POSIX/TimePosixC.c:61
#3  0x0000000120516990 in TimePosix__ComputeGrain ()
    at ../src/time/POSIX/TimePosixC.c:77
#4  0x00000001204ef344 in TimePosix_M3 (
    M3_AcxOUs_mode=<error reading variable>)
    at ../src/time/POSIX/TimePosix.m3:18
#5  0x00000001204c94f0 in RTLinker__RunMainBody (


I have adjusted the code to I believe guarantee forward progress.
  Some versions of mine did not.

Ideas?

Better portable ways to write it?

It hangs a large fraction of the time on Alpha/OSF for example.

 - Jay
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://m3lists.elegosoft.com/pipermail/m3devel/attachments/20100817/c8467c19/attachment-0001.html>


More information about the M3devel mailing list