summaryrefslogtreecommitdiffstats
path: root/libdimension/future.c
Commit message (Collapse)AuthorAgeFilesLines
* Use // comments when possible.Tavian Barnes2014-06-071-19/+19
|
* malloc: New DMNSN_MALLOC() macro to save a sizeof().Tavian Barnes2014-05-061-1/+1
|
* future: Add to benchmark.Tavian Barnes2014-04-261-6/+14
|
* future.c: Don't let people join futures while they're paused.Tavian Barnes2014-04-261-0/+2
|
* future: Add a dmnsn_future_is_done() function.Tavian Barnes2014-04-261-4/+18
|
* future: Add a race-free way to examine a partial computation.Tavian Barnes2014-04-231-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 Barnes2013-03-191-35/+34
| | | | We can just cast away the const, as they're all on the heap anyway.
* Simplify future implementation.Tavian Barnes2013-03-191-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 Barnes2011-10-191-0/+164