Re: [AD] malloc |
[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]
Peter Wang wrote:
On 2005-11-20, aj <aj@xxxxxxxxxx> wrote:Im not asking to change any functionality, just malloc replaced with _al_malloc(), that is all.Look, simply replacing all occurrences of malloc() by _al_malloc() is a 10 minute job with a shell script. You don't even have to send a patch for it. All I'm asking is that blocks which are guaranteed not to hold pointers should be allocated by _al_malloc_atomic() instead of _al_malloc(). That actually requires some human intervention.
ok, im not sure the reasons, i dont know enough about this atomic thingy, but could that be done later ?
How does that prevent changing malloc() to _al_malloc() ?At a later time, the _al_malloc()'s could be reviewed to decide which ones need to be changed to _al_malloc_atomic()
Who can perform this 10 minute shell script job ? aj.
Mail converted by MHonArc 2.6.19+ | http://listengine.tuxfamily.org/ |