Enhancement #353

Cleanup Threads in regards of AllocatorUnref and fAllocator

Added by Marcel Huber about 7 years ago. Updated about 7 years ago.

Status:NewStart date:2016-03-23
Priority:NormalDue date:
Assignee:Marcel Huber% Done:


Category:frameworkEstimated time:16.00 hours
Target version:-


AllocatorUnref should be changed to handle both Ref and Unref of the tracked allocator.
Therefor it should behave like a shared pointer tracking the lifetime of the tracked object.
The object itself should be tracked by some kind of unique_ptr, as the initially assigned fAllocator from within the contructor might change during Thread.Start().

At the same time, it should be checked if the allocator ctor argument is still in use or if we should rely on the use of the optional allocator parameter of Thread.Start().


#1 Updated by Marcel Huber about 7 years ago

  • Description updated (diff)

Also available in: Atom PDF