From: "Fruber Malcome" <[EMAIL PROTECTED]>
> But my question is, when using MemChunkNew, in order to access the data, I
> need to call:
>   MemSemaphoreReserve(true);
>
> I wonder if I could use the combination of Ftr and the above so that it
> would all work.
>
A combination of Feature memory and semaphore management
works, but has some issues, particularly on some Sony
hardware.  You need to be careful to release the semaphore
quickly (I know this sounds obvious, but requirements for
large memory chunks often go hand-in-hand with heavy
processing).  Holding it longer than perhaps 2 to 4 tenths
of a second can introduce other problems, in particular
(and someone more knowledgable than I can step in any
time), it seems to prevent the task switching associated with
sound playback and can conflict with system assumptions
about the semaphore.

This is particularly true on some Sony implementations,
where there seems to be a tendency to tweak the OS
behaviour to allow advanced Sony functionality.  Not a
bad thing in itself, but can introduce development delays
when you find these small variations.  Sorry to be vague,
but I'm not sure how much of the information I've got is
publicly released by Sony.  Most of the issues seem to
center around the car cradle support so if you're just
writing for standard Clies and step carefully you should
be fine.

Chris Tutty


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to