Saturday, 2 March 2013

Re: lwc PPC460ex on-chip memory optimisations

On Sat, 02 Mar 2013 14:16:20 +0100, François Revol wrote:

> How is the allocation of the OCM itself handled?
> By the OS?

There's a library (a resource actually, but there's not much
difference) which allows an application to gain and relinquish
exclusive access to that memory.

> Does it still work if some other app (or another NS instance) already
> uses it?

It won't be able to use the OCM if some other task has already
obtained access to it. In the case of lwc, it will fail over to using
main memory. NetSurf here has always been restricted to one instance
(running it twice signals the first instance to open another window)

Chris

No comments:

Post a Comment