Hi,
On Thu, 2007-08-23 at 16:08 -0400, Bishop, Michael W. CONTR J9C880
wrote:
> I ran into a similar problem. I could be wrong, so someone correct me,
> but I believe all the threads are STARTED in the order they are put in
> the RunnableQueue. However, they could FINISH at different times. If
> Thread A takes 10 seconds to run and Thread B takes 5 seconds, Thread B
> will finish before Thread A and could possibly cause the issues you're
> running into.
>
> My (not-so-elegant) solution was to modify the run() methods of my
> Threads to synchronize on the same object:
>
> public void run() {
> synchronized(someCommonObject) {
> ...
> }
> }
>
As usual, always run SVG DOC modification using updateManager, do not
construct your own Thread, use the supplied updateManager thread.
Regards
Tonny Kohar
--
Inspiration and Expression
http://blogs.kiyut.com/tonny/
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]