swarm-support
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Zone usage: alloc: vs. allocBlock:


From: Marcus G. Daniels
Subject: Re: Zone usage: alloc: vs. allocBlock:
Date: 21 Jul 1999 10:08:16 -0700
User-agent: Gnus/5.070084 (Pterodactyl Gnus v0.84) Emacs/20.4

>>>>> "KC" == Ken Cline <address@hidden> writes:

KC> Oh, I didn't realize that `alloc:' was deprecated. 

Let me restate this in a different way.  A new pair of methods,
allocBlock:/freeBlock: were introduced in order to provide info for Zone
counters.  alloc: provides this information too (by storing it), but 
it wasn't properly aligning the returned memory.  I've fixed this.

So alloc:/free: wastes a little memory but has a more convenient interface.
(freeBlock:blockSize: is annoying because you have to remind the Zone
what size the block was.)

                  ==================================
   Swarm-Support is for discussion of the technical details of the day
   to day usage of Swarm.  For list administration needs (esp.
   [un]subscribing), please send a message to <address@hidden>
   with "help" in the body of the message.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]