[M3commit] CVS Update: cm3

Jay K jay.krell at cornell.edu
Sun Apr 11 05:47:36 CEST 2010


diff attached
 
> Date: Sun, 11 Apr 2010 05:41:05 +0000
> To: m3commit at elegosoft.com
> From: jkrell at elego.de
> Subject: [M3commit] CVS Update: cm3
> 
> CVSROOT: /usr/cvs
> Changes by: jkrell at birch. 10/04/11 05:41:05
> 
> Modified files:
> cm3/m3-libs/m3core/src/: m3core.h 
> cm3/m3-libs/m3core/src/thread/PTHREAD/: ThreadPThread.i3 
> ThreadPThread.m3 
> ThreadPThreadC.c 
> cm3/m3-libs/m3core/src/time/POSIX/: TimePosixC.c m3makefile 
> cm3/m3-libs/m3core/src/unix/Common/: Utime.i3 UtimeC.c 
> 
> Log message:
> remove use of struct timespec (nanotime) and struct timeval (microtime)
> by passing double/LONGREAL/Time.T/TimeT to C and do the conversion in C,
> for select (microtime) and CommonSleep/nanosleep (nanotime) and
> pthread_cond_timedwait (microtime)
> 
> also pay better attention to the nanosleep return value
> I thought maybe this was why the PPC64_DARWIN hang but unfortunately not
> 
> As well, if preferred, we can do the float to time struct
> conversion in Modula-3 to "idealized" structs and pass those down
> 
> Not also that struct timeval and timespec are
> among the fairly safe header clone parts, maybe
> ok to keep them.
> 
> Header cloning was far worse when it was per-target.
> 
> remove timespec/nanosleep from m3core/src/unix
> timeval left alone as it is a bunch of other users
> 
> TimePosixC.c was previously not yet used, so existing code #if 0'ed out
> 
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://m3lists.elegosoft.com/pipermail/m3commit/attachments/20100411/dc514182/attachment-0002.html>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 1.txt
URL: <http://m3lists.elegosoft.com/pipermail/m3commit/attachments/20100411/dc514182/attachment-0004.txt>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 1.txt
URL: <http://m3lists.elegosoft.com/pipermail/m3commit/attachments/20100411/dc514182/attachment-0005.txt>


More information about the M3commit mailing list