about summary refs log tree commit diff stats
path: root/cpp/038scheduler.cc
Commit message (Collapse)AuthorAgeFilesLines
* 1270 - we can now pass ingredients to routines as we start themKartik K. Agaram2015-05-051-1/+13
|
* 1267 - 'routine-state' can use the provided routine idKartik K. Agaram2015-05-051-0/+35
|
* 1266 - 'start-running' returns a unique routine idKartik K. Agaram2015-05-051-1/+31
|
* 1249 - new type: index_tKartik K. Agaram2015-05-041-4/+4
| | | | | | | | It will always be identical to size_t, just more readable, like recipe_number, etc. The various unsigned types are sizes, indices (which often compare with sizes for bounds checking), numbers which are canonical elements of a specific space (like recipes or mu types), and ids which I haven't introduced yet.
* 1239 - scheduler bugfixKartik K. Agaram2015-05-021-1/+48
| | | | | | | | | | | | | | | | | | | | | | | | | | In the process, some extra unit tests as well. The final scenario is newly fixed. Between the earlier support for '%' escaping C code inside scenarios, and the previous commit, we now actually have the ability to setup the Routines data structure just so to simulate different situations. One unanticipated but happy consequence of ignoring run(""): I can interleave '+' lines with '-' lines to avoid making any ordering assertions between '+' lines. So the '+' lines here are checked in order: +layer1: a +layer3: c But here they will pass even if present out of order: +layer1: a -layer2: b +layer3: c This might be too confusing. In general, relying on run("") is just a temporary hack. It might well have even worse counter-intuitive effects. At least I'm not seeing any string-escaping issues so far.
* 1229Kartik K. Agaram2015-05-011-5/+5
|
* 1206 - 'wait' state for synchronizing routinesKartik K. Agaram2015-04-271-2/+2
| | | | I think I have enough now to port channels over.
* 1204 - more extensible schedulerKartik K. Agaram2015-04-261-16/+49
| | | | | | Instead of creating ad hoc data structures for every new state that routines can be in, track states in one coherent place and provide a well-defined waypoint for state transitions.
* 1201Kartik K. Agaram2015-04-261-1/+1
|
* 1197Kartik K. Agaram2015-04-251-1/+26
|
* 1196Kartik K. Agaram2015-04-241-1/+1
|
* 1189 - add extensions to all layersKartik K. Agaram2015-04-241-0/+62
I'm sick of fighting vim's filetype detection. No modeline and files highlight in random colors. I add a modeline and it stops highlighting tangle comments. Even though it read my #$%# vimrc! Fuck this shite.