Login  Register

Re: Discussion: Applet's & GLProfile's initSingleton(..) / shutdown(..)

Posted by Sven Gothel on Dec 09, 2011; 10:40am
URL: https://forum.jogamp.org/Discussion-Applet-s-GLProfile-s-initSingleton-shutdown-tp3556730p3572581.html

On Friday, December 09, 2011 04:17:58 AM Wade Walker [via jogamp] wrote:
>
> Would it help if I could somehow make an applet2 JUnit test? It should be
> possible to launch an applet programmatically from a unit test using the
> sun.applet2 launcher classes somehow, I just haven't tried it yet. This
> might help us get better test coverage for applets on all platforms without
> requiring you to run tests manually

This would help a lot, ofc - thanks.

Well, this would still force us to test w/ the browsers and their specific
plugin behavior - but it gives a 1st easy threshold/validation,
which would be awesome.

The relaunch of shared resource runner after applet stop already work, good.

I guess I can finish the concurrency problem today, writing a recusrive lock
allowing a group of threads to pass (shared resource runner thread) @ initialization.

~Sven