John M McIntosh
johnmci at smalltalkconsulting.com
Thu Apr 9 04:01:09 UTC 2009
There is a vestige in the os-x vm for browser support, but it appears
it was replaced by some logic that considers if the VM was a sub
process of the parent process (the browser) to determine if the
browser has gone away. So it's not needed anymore, in fact the flag I
set is never actually referenced anywhere anymore.
I had exploited it in the iPhone VM to check for memory leakage by
terminating the VM process, but again not needed.
I'm sure I saw it used in the Hydra VM to exit each child VM process
to the main dispatcher to deal with moving items between VMs, but I'm
logic has changed.
On 8-Apr-09, at 5:00 PM, Eliot Miranda wrote:
> Hi All,
> is browserPluginReturnIfNeeded needed on anything other than Mac
> OS classic? I'd like to nuke it in the Cog VM as it complicates.
> Talking with Andreas he says that now Squeak browser plugins run in
> a separate thread and project a window into the browser, which is
> almost what I did with my first VW browser plugin until John Baker
> found one can run in a completely different process and still
> project a window into the browser :) So it would seem that
> browserPluginReturnIfNeeded is indeed obsolete. Can anyone confirm
> or contradict?
John M. McIntosh <johnmci at smalltalkconsulting.com>
Corporate Smalltalk Consulting Ltd. http://www.smalltalkconsulting.com
More information about the Vm-dev