Commit Graph

7 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 90a99991d1 Use empty() instead of !size() 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 daa94cc50e Fix cppcheck warnings 9 years ago
scrawl b204396b57 Minor fix 10 years ago
scrawl 9c86d4f8bc Race condition fix 10 years ago
scrawl cc71e894e1 Add WorkQueue class 10 years ago