[M3commit] CVS Update: cm3

Tony Hosking hosking at cs.purdue.edu
Sat Apr 17 15:15:08 CEST 2010


Just a historical note.  select was 4.2BSD.  poll was AT&T System V UNIX.  In the bad old days the different Unixes had different APIs.  In the early days when Modula-3 user threads were written they were running on BSD systems.

On 17 Apr 2010, at 12:15, Jay Krell wrote:

> CVSROOT:	/usr/cvs
> Changes by:	jkrell at birch.	10/04/17 12:15:33
> 
> Modified files:
> 	cm3/m3-libs/m3core/src/thread/Common/: SchedulerPosix.i3 
> 	                                       ThreadInternal.c 
> 	                                       ThreadInternal.i3 
> 	cm3/m3-libs/m3core/src/thread/PTHREAD/: ThreadPThread.m3 
> 	cm3/m3-libs/m3core/src/thread/WIN32/: SchedulerPosix.m3 
> 
> Log message:
> 	switch pthreads and cygwin from select to poll
> 	They only wait for one file at a time, so the change is easier.
> 	
> 	Leave userthreads using select.
> 	It waits for multiple, so the change is a bit more.




More information about the M3commit mailing list