Commit Graph

10 Commits

Author SHA1 Message Date
19c427d756 Add opt. RAII-isms for destruction, fix thread bug
Thread Bug: Incorrectly using && operator for while
(DqnJobQueue_TryExecuteNextJob(queue) &&
!DqnJobQueue_AllJobsComplete(queue)) causing it to prematurely exit if
the main thread has completed its work before other threads have
completed the remainder. Should be using an || operator, so instead
creating a helper function which encapsulates this functionality.
2017-06-24 14:59:48 +10:00
45bc637773 Expose job queue, update init function 2017-06-23 23:12:20 +10:00
9bb8efcf9d Add CPP member functions to DqnMemStack 2017-06-23 15:30:21 +10:00
81c68ad908 Add better documentation 2017-06-22 14:00:11 +10:00
93bbc25b11 Fix compile and warnings on MSVC 2017-06-21 19:01:36 +10:00
5c06410929 Various small changes and helper functions
- Fix typo for int32_t and int64_t
- Add new helper functions to convert v2i to v2 and back
- Add DqnRect_ClipRect to restrict rect to some specified clip-rect
- Improve I32ToStr and StrToI32 to support up to I64
2017-05-15 17:45:53 +10:00
6fe75928f0 Create a default MemoryAPI for MemBuffers 2017-05-06 02:44:17 +10:00
1c3c78d738 Add custom memory allocator support for DArray 2017-05-05 02:37:38 +10:00
9106f185a3 Add darray remove operations 2017-04-11 19:00:55 +10:00
cbb3adae52 Change naming scheme from dqnt to dqn 2017-04-10 18:40:15 +10:00