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

Jay K jay.krell at cornell.edu
Wed Dec 30 11:07:00 CET 2015


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 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://m3lists.elegosoft.com/pipermail/m3devel/attachments/20151230/cce6a544/attachment-0002.html>


More information about the M3devel mailing list