Re: responsive threading

Andras Balogh <[email protected]> Sat, 30 Jul 2005 09:15:00 -0600
Newsgroups gmane.games.devel.general
Message-ID <[email protected]>
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.




-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Gamedevlists-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gamedevlists-general
Archives:
http://sourceforge.net/mailarchive/forum.php?forum_id=557