about summary refs log tree commit diff stats
path: root/072scheduler.cc
Commit message (Collapse)AuthorAgeFilesLines
* 3204Kartik K. Agaram2016-08-161-1/+4
| | | | Fix CI.
* 3202 - bugfix: 'start-running' and refcountsKartik K. Agaram2016-08-161-0/+59
| | | | | | | | | | | | | | | | | | | | | | When you pass an ingredient to a recipe using 'start-running' it mostly behaves identically to performing a regular function call. However, if the calling function completed before the new routine had a chance to run, the ingredients passed in ran the risk of being reclaimed. In response, let's always increment refcounts at the time of a function call rather than when the ingredients are read inside the callee. Now the summary of commit 3197 is modified to this: Update refcounts of products after every instruction, EXCEPT: a) when instruction is a non-primitive and the callee starts with 'local-scope' (because it's already not decremented in 'return') OR: b) when instruction is primitive 'next-ingredient' or 'next-ingredient-without-typechecking'
* 3201Kartik K. Agaram2016-08-161-0/+1
|
* 3192Kartik K. Agaram2016-08-161-28/+0
|
* 3154 - reorg before making 'random' more testableKartik K. Agaram2016-07-271-0/+625