about summary refs log tree commit diff stats
path: root/mu.arc
Commit message (Collapse)AuthorAgeFilesLines
* 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-211-32/+55
| | | | | | | | | 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-191-2/+1
| | | | | | | | | 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-191-3/+4
| | | | Only literals for starters.
* 273Kartik K. Agaram2014-11-181-1/+1
|
* 272Kartik K. Agaram2014-11-181-1/+1
|
* 271Kartik K. Agaram2014-11-181-7/+7
|
* 270Kartik K. Agaram2014-11-181-2/+8
|
* 269Kartik K. Agaram2014-11-181-12/+28
| | | | | | Minor cleanup and code comments. I'm starting to feel the need for formatting primitives, so I don't use comments just to provide section headings.
* 267 - more intuitive channel capacityKartik K. Agaram2014-11-151-0/+1
|
* 263Kartik K. Agaram2014-11-081-3/+4
| | | | | | | | | | | | | | | | | I'm trying to think about how to write a test for the race condition, and how to fix it. One thing that's been hard is even remembering where it lies. It's not between wiping the watch and sleeping on it; that's innocuous because the sleep would just immediately wake up. No, the race condition lies between the empty check and the wipe. For the innocuous race we could just create an atomic wipe-and-sleep. But the more serious race requires a lock. If we need a lock anyway, is there any reason to have two watch variables? I'm going to preserve these alternative functions in the code. Alternatives will only ever be called from other alteratives or tests.
* 262Kartik K. Agaram2014-11-081-4/+4
|
* 259 - finally channel read/write can cause routine to sleepKartik K. Agaram2014-11-071-3/+29
|
* 258 - new channel helpers: empty? and full?Kartik K. Agaram2014-11-071-0/+30
|
* 256 - channel pointers can now wrapKartik K. Agaram2014-11-071-9/+25
|
* 254Kartik K. Agaram2014-11-071-0/+1
|
* 253Kartik K. Agaram2014-11-071-17/+17
|
* 252Kartik K. Agaram2014-11-071-3/+3
| | | | Single idiom for setting oargs.
* 251Kartik K. Agaram2014-11-071-5/+8
|
* 250 - experimental support for _ oargKartik K. Agaram2014-11-071-11/+22
| | | | | | | This radically overhauls our assumption that args must always be lists, so we're probably missing things. Where we do, more tests are required. Only important trace change: .traces/dummy-oarg
* 249Kartik K. Agaram2014-11-071-2/+2
| | | | I've been meaning to fix that misleading label for some time now..
* 247Kartik K. Agaram2014-11-071-3/+8
|
* 246Kartik K. Agaram2014-11-071-6/+7
|
* 244Kartik K. Agaram2014-11-061-2/+2
|
* 242Kartik K. Agaram2014-11-061-13/+0
|
* 241 - 'sleep' on a memory locationKartik K. Agaram2014-11-061-5/+18
| | | | I thought we could be oblivious of channels, but that requires more work.
* 240Kartik K. Agaram2014-11-061-6/+6
|
* 239Kartik K. Agaram2014-11-061-2/+2
|
* 238 - avoid deadlock if all jobs are sleepingKartik K. Agaram2014-11-061-2/+9
|
* 237 - rudimentary 'sleep'Kartik K. Agaram2014-11-061-3/+23
|
* 235Kartik K. Agaram2014-11-061-3/+3
|
* 234Kartik K. Agaram2014-11-061-40/+39
|
* 233 - start tracking global cycle countKartik K. Agaram2014-11-061-14/+14
| | | | We're gonna need this to implement 'sleep'.
* 231Kartik K. Agaram2014-11-061-34/+35
|
* 230Kartik K. Agaram2014-11-061-1/+2
|
* 229Kartik K. Agaram2014-11-041-4/+0
|
* 228 - rudimentary read from channelKartik K. Agaram2014-11-041-0/+9
|
* 227Kartik K. Agaram2014-11-041-1/+4
|
* 225 - simple writes to channelKartik K. Agaram2014-11-041-0/+11
|
* 223Kartik K. Agaram2014-11-041-2/+3
|
* 222 - trace cleanupKartik K. Agaram2014-11-041-13/+35
|
* 221Kartik K. Agaram2014-11-041-0/+19
|
* 219Kartik K. Agaram2014-11-031-3/+6
|
* 217Kartik K. Agaram2014-11-031-1/+1
|
* 216Kartik K. Agaram2014-11-031-5/+5
|
* 215 - allow record fields to be namedKartik K. Agaram2014-11-031-6/+19
|
* 213 - bring back the fork exampleKartik K. Agaram2014-11-011-2/+4
|
* 210 - go over mu.arc.t narrativeKartik K. Agaram2014-11-011-2/+2
|
* 201Kartik K. Agaram2014-11-011-15/+9
|