Commit Graph

6 Commits

Author SHA1 Message Date
R. Belmont
0c0093842a cothreads: fixed to run on PowerPC Mac OS X [R. Belmont] 2011-07-28 01:51:24 +00:00
Angelo Salese
a23c194ed5 Port from MESS, nw 2011-06-28 14:23:18 +00:00
R. Belmont
bf2c8427df Fixed cothread build for Mac OS X PowerPC (nw) 2011-06-26 01:44:03 +00:00
Miodrag Milanovic
650f483d2d Fixed credit for byuu and warning in lib/cothread/amd64.c compile (no whatsnew) 2011-06-25 15:45:02 +00:00
Wilbert Pol
06623947e3 libco: Fix linking and compiling under osx. (nw) 2011-06-25 15:20:01 +00:00
Aaron Giles
f8adbd63fa Added byuu's cothread library, along with a wrapper class. Switched to
using one cothread for each executable device. This functionality is
strictly internal and should result in no changes in scheduling
behavior. However, it now becomes possible to exit out of a device's 
execution in the midst of an instruction by calling 
machine().scheduler().make_active(). Note that this is somewhat dangerous
for cores that have logic at the start of their execute loop to check for
interrupts or other conditions, as those checks will be skipped upon
resume, so consider this sort of early exiting to be highly experimental 
for now. [Aaron Giles, Miodrag Milanovic, byuu]
2011-06-25 07:03:07 +00:00