On Wed, Aug 17, 2011 at 12:39 PM, Stephen Sinclair <radarsat1(a)gmail.com> wrote:
The only thing that struck me is that I'm under
the impression that
memory allocation and deallocation, even by the GUI thread, can cause
pauses to the whole process. Hence, a threading model is not enough
for decoupling memory allocation pauses. Can anyone comment on
whether this is true? My impression is that at least a new or malloc
can stimulate a brk()/sbrk(), which will generate a page fault. Not
sure about deallocations.
page faults affect kernel tasks (threads), not processes. the affected
task will block but other tasks in the same process will be able to
execute without delay.
i believe.