| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2015-10-28 | propellor spin | Joey Hess | |
| 2015-10-28 | propellor spin | Joey Hess | |
| 2015-10-28 | fix tricky race | Joey Hess | |
| Race between 2 calls to takeOutputLock'. The first call empties the TMVar, and does some work to check it. Meanwhile, the second call could sneak in, see it was empty, and call waitlock. Since waitlock used tryTakeTMVar, that would not block it, and it would think it had the lock, filling the TMVar. In the meantime, the first call could decide it had to lock and go on to possibly cause trouble. | |||
| 2015-10-28 | fix bad MVar use, use STM | Joey Hess | |
| I had 2 MVars both involved in the same lock, and it seemed intractable to avoid deadlocks with them. STM makes it easy. At this point, the concurrent process stuff seems to work pretty well, but I'm not 100% sure it's not got some bugs. | |||
| 2015-10-28 | need withConcurrentOutput to flush any buffered concurrent output | Joey Hess | |
| 2015-10-28 | propellor spin | Joey Hess | |
| 2015-10-28 | propellor spin | Joey Hess | |
| 2015-10-28 | use outputConcurrent interface | Joey Hess | |
| This interface will fix the current deadlock when a process is running and the thread that ran it wants to output to the console. The locking and buffering is not implemented yet. | |||
| 2015-10-28 | propellor spin | Joey Hess | |
| 2015-10-28 | propellor spin | Joey Hess | |
| 2015-10-28 | improve comment | Joey Hess | |
| 2015-10-28 | don't truncate over-large output; swap to temp files | Joey Hess | |
| 2015-10-28 | split out generic ConcurrentOutput module to Utility | Joey Hess | |
