Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | malloc: New DMNSN_MALLOC() macro to save a sizeof(). | Tavian Barnes | 2014-05-06 | 1 | -1/+1 |
| | |||||
* | future: Add to benchmark. | Tavian Barnes | 2014-04-26 | 1 | -6/+14 |
| | |||||
* | future.c: Don't let people join futures while they're paused. | Tavian Barnes | 2014-04-26 | 1 | -0/+2 |
| | |||||
* | future: Add a dmnsn_future_is_done() function. | Tavian Barnes | 2014-04-26 | 1 | -4/+18 |
| | |||||
* | future: Add a race-free way to examine a partial computation. | Tavian Barnes | 2014-04-23 | 1 | -4/+100 |
| | | | | | | This allows safe OpenGL previews, for example. dmnsn_future* learned the dmnsn_future_{pause,resume}() functions which cause all worker threads to block. render.test now survives Helgrind with no errors. | ||||
* | Don't use pointer indirection to emulate mutable for futures. | Tavian Barnes | 2013-03-19 | 1 | -35/+34 |
| | | | | We can just cast away the const, as they're all on the heap anyway. | ||||
* | Simplify future implementation. | Tavian Barnes | 2013-03-19 | 1 | -27/+25 |
| | | | | | A read-write lock was a bad idea, as most consumers are probably writers, not readers. | ||||
* | Rename progress objects to future objects. | Tavian Barnes | 2011-10-19 | 1 | -0/+164 |