about summary refs log tree commit diff stats
Commit message (Collapse)AuthorAgeFilesLines
* 322Kartik K. Agaram2014-11-241-12/+12
|
* 321 - before/after can now come anywhereKartik K. Agaram2014-11-243-31/+35
| | | | | | This pollutes our traces with all 'system software'. Too much trouble to keep it out; just lump it for now. Who knows, might even be useful. Most of the time convert* labels are easy to grep out when debugging.
* 320Kartik K. Agaram2014-11-241-1/+1
|
* 319 - ack, forgot to handle blocks when tanglingKartik K. Agaram2014-11-243-13/+87
| | | | | | | | | | | | Will the 'lightweight tools' really be all that useable if we encourage people to layer them one atop another and track precisely what inputs each can accept? Something to keep an eye on. In the meanwhile, we have a new (but very unrealistic) example demonstrating the tangling directives. There's still a big constraint on ordering: before/after clauses have to come before functions that need them.
* 318Kartik K. Agaram2014-11-241-0/+7
|
* 317Kartik K. Agaram2014-11-241-79/+83
|
* 316Kartik K. Agaram2014-11-241-7/+7
|
* 315 - handle before/after uniformly like defKartik K. Agaram2014-11-242-63/+89
|
* 314 - better syntax for functionsKartik K. Agaram2014-11-247-412/+550
|
* 313 - tangling primitivesKartik K. Agaram2014-11-242-2/+218
|
* 312Kartik K. Agaram2014-11-242-7/+20
|
* 311Kartik K. Agaram2014-11-242-6/+6
|
* 310Kartik K. Agaram2014-11-242-10/+10
|
* 309 - publish to githubKartik K. Agaram2014-11-232-120/+419
| | | | Also mirror mu.arc.t.html to the gh-pages branch.
* 308 - temporarily inline charterm dependencyKartik K. Agaram2014-11-2311-0/+4154
|
* 307Kartik K. Agaram2014-11-231-1/+4
|
* 306 - 'sleep' now watches for changes to a locationKartik K. Agaram2014-11-232-97/+22
| | | | | | | | | | | | This simplifies things a lot and eliminates the race condition. I think it's practical too, as long as you save a single location and don't permit sleeping on compound structures. I'm resigned to needing a lock in the native setting. Should I be concerned that I fixed a failing test by getting rid of hit? If I had alternatives, how would I save the old sleep implementation?
* 305 - simplify wakeup to not require routine*Kartik K. Agaram2014-11-231-7/+2
|
* 304 - a unit test for a race conditionKartik K. Agaram2014-11-232-0/+32
| | | | | | | | | | | Still failing, but worth memorializing for posterity. Race condition tests are still experimental, even more tied to a very specific implementation. If I make changes to 'write' the very 'wipe-read' label will go away. But then you just delete all tests relying on stale labels and try to think up new race conditions.
* 303Kartik K. Agaram2014-11-231-2/+2
|
* 302 - now we can add some labels to 'write'Kartik K. Agaram2014-11-231-0/+2
| | | | | | | | The hope is that those labels will help us test the race condition by hooking into the scheduler. Hooking into the scheduler will complicate the task of dropping racket and running tests natively. But we'll worry about that later.
* 301 - yes, close-offset simplifies nicelyKartik K. Agaram2014-11-231-18/+14
|
* 300 - missed a spotKartik K. Agaram2014-11-232-6/+61
| | | | | | Also uncovered a bug in convert-braces, which helps see a simpler close-offset. Instead of all that crap with first incrementing then waiting for counter to return to 0, just wait for counter to go to -1.
* 299 - labels inside functionsKartik K. Agaram2014-11-222-26/+69
|
* 298Kartik K. Agaram2014-11-221-10/+10
|
* 297Kartik K. Agaram2014-11-221-0/+8
|
* 296 - finally, shared a channel between routinesKartik K. Agaram2014-11-222-4/+4
| | | | Was already working, test was just stale. Reassuring.
* 295Kartik K. Agaram2014-11-221-1/+1
| | | | | Too hard to canonicalize routines in traces, with their nested tables. Give up for now.
* 294 - read/write now pass channel by referenceKartik K. Agaram2014-11-222-40/+40
| | | | But handoff test still failing.
* 293 - unit test for misplaced deadlockKartik K. Agaram2014-11-221-0/+17
|
* 292 - back to state of commit 276Kartik K. Agaram2014-11-221-1/+1
| | | | | | | | | | | | | | | | What have we learned? a) You can't detect deadlock between running a thread and waking up sleeping threads -- you may miss threads that are about to become available. b) Most of the context-switching code in 'run' shouldn't assume routine* is correctly set. That's just for 'run-for-time-slice' and for checking on blocked threads. I was implicitly requiring it when I shouldn't, and not setting it when checking blocked threads. Before I fix the next failing test I want to write unit tests for a) above.
* 291 - figured out the channel-handoff problemKartik K. Agaram2014-11-212-4/+11
| | | | | | | | 'read' and 'write' pass in the channel by value, so they block on different *local* variables. Does this kill my plan to pervasively use call-by-value everywhere? No, we might be able to salvage it if channels are the only shared pointers.
* 290 - how was channel-write-block *ever* working?!Kartik K. Agaram2014-11-212-2/+6
| | | | Oh right, because I wasn't using default-scope when checking to wake up.
* 289 - finally back to deadlock detectionKartik K. Agaram2014-11-212-5/+27
|
* 288 - support sleeping while watching a memory locationKartik K. Agaram2014-11-212-3/+52
|
* 287Kartik K. Agaram2014-11-211-19/+21
|
* 286Kartik K. Agaram2014-11-211-5/+7
|
* 285Kartik K. Agaram2014-11-211-2/+1
|
* 284Kartik K. Agaram2014-11-211-9/+9
|
* 283Kartik K. Agaram2014-11-212-22/+25
|
* 282 - scheduler skips ahead when all routines are asleepKartik K. Agaram2014-11-212-30/+50
|
* 281Kartik K. Agaram2014-11-212-28/+36
|
* 280 - waking up sleeping routinesKartik K. Agaram2014-11-212-5/+47
| | | | Tests still hanging at some point.
* 279 - one new test passing, but sleep now hangsKartik K. Agaram2014-11-211-2/+5
|
* 278Kartik K. Agaram2014-11-211-0/+5
|
* 277 - back up, start refactoring the schedulerKartik K. Agaram2014-11-212-56/+119
| | | | | | | | | In trying to share pipes between routines, I realized my scheduler was actually quite brittle. Changing scheduling-interval* shouldn't be required in most tests, and shouldn't change the outcome most of the time. Current state: all scheduler tests fail, but everything else passes.
* 276 - now fork can take any argsKartik K. Agaram2014-11-192-2/+15
| | | | | | | | | No oargs, though. Hopefully we don't need them. Use channels for passing data back. Drawback: channels must all be passed in by value, and their direction isn't obvious. Hard to tell when multiple threads read/write the same channel. Hopefully it's amenable to static analysis.
* 275 - pass args to forkKartik K. Agaram2014-11-192-3/+15
| | | | Only literals for starters.
* 274 - long overdue test for 'fork'Kartik K. Agaram2014-11-191-0/+11
|
* 273Kartik K. Agaram2014-11-181-1/+1
|