[interfacekit] Re: BHandler::fToken

"Marc Flerackers" <mflerackers@xxxxxxxxxx> wrote:
> As Cedric Degea pointed out, commands aren't directly written to the 
> port.
> They are cached in the =5FBSession=5F (or PortLink in OpenBeOS, both work 
> mostly
> in the same way, except that the first one writes it's data into a 
> buffer
> and bumps a pointer, while the second one allocates a new buffer, 
> writes the
> data and puts the buffer pointer in a list).

I think the fastest way to have something like this would be shared 
area, and the "bump pointer"-method. At least that would save some 
memory copies.
While I am at shared memory, how a bitmaps managed=3F I guess the 
app=5Fserver itself will draw to them, so I guess their bits a shared 
between the server and the application=3F (or am I ahead of the 
implementation=3F :-)

Adios...
   Axel.



Other related posts: