Commit Graph

5 Commits (openmw-39)

Author SHA1 Message Date
scrawl 2f8be401cc Add the unref work items to the front of the workqueue (Bug #3273)
Ensures that memory still gets freed even if the workqueue is overloaded.
9 years ago
scrawl 84f01b7527 Remove unneeded forward declaration 9 years ago
scrawl b7e69cbc64 Refactor WorkQueue, merge WorkTicket and WorkItem
Allow the caller to hold on to the WorkItem. This makes it possible for a derived WorkItem to store the result of the work within the WorkItem itself.
9 years ago
scrawl 9c86d4f8bc Race condition fix 10 years ago
scrawl cc71e894e1 Add WorkQueue class 10 years ago