Re: [GD-General] responsive threading
Brought to you by:
vexxed72
From: Andras B. <and...@gm...> - 2005-07-31 14:51:47
|
Could you be a bit more specific? Should I try to decrease the number of memory allocations? Should I try using a custom memory manager? BTW: this is not "huge" app by any means, and it only uses two threads, that's all.. Friday, July 29, 2005, 7:48:48 PM, you wrote: > Mat makes a good point about MT memory allocations (and CRT). We have > ran into issues that stemmed from MT heap allocations in "huge" MT > apps. Probably a good place to start. > -Beau > Andras Balogh wrote: >> Yeah, that's what I was thinking too, that this decompressing library >> makes some Win32 API calls, that result in the Windows kernel doing >> some system maintanence at a higher priority.. >> >> Mat Noguchi (BUNGIE) wrote: >> >>> Unfortunately, there are many function calls that can cause stalls under >>> multithreading: mixing blocking and non-blocking file i/o, allocating >>> memory with malloc/free, CRT functions that manipulate global state, >>> etc. |