[M3devel] Add support for real time threads breaks on Mac

Jay K jay.krell at cornell.edu
Wed Dec 30 11:12:50 CET 2015


I suspect this only works on Linux and will fail on everything else: MacOSX, NetBSD, FreeBSD, OpenBSD, Solaris, Cygwin, Interix and the hypothetical AIX, Irix, HP-UX, VMS, etc.


 - Jay




________________________________
> From: jay.krell at cornell.edu 
> To: m3devel at elegosoft.com; peter.mckinna at gmail.com 
> Date: Wed, 30 Dec 2015 10:07:00 +0000 
> Subject: [M3devel] Add support for real time threads breaks on Mac 
> 
> https://github.com/modula3/cm3/commit/af5b2314a8a7ea76d04dbedcb51dee56ab347c51 

> Add support for real time threads Fails to compile for me on MacOSX. 

> Can we undo it? Or #ifndef __APPLE__ out some parts? 
> ../src/thread/PTHREAD/ThreadPThreadC.c:711:58: error: unknown type name 
> 'cpu_set_t' ThreadPThread__add_core_to_cpuset(int core_id, int size, 
> cpu_set_t *cpuset) Maybe can be implemented using Apple-specific code? 

> What systems does it work on? I'll go off and read.. Thank you, - Jay 
> 
> _______________________________________________ M3devel mailing list 
> M3devel at elegosoft.com 
> https://mail.elegosoft.com/cgi-bin/mailman/listinfo/m3devel 
 		 	   		  


More information about the M3devel mailing list