Hi everyone,

I started using lock and unlock after having trouble
with Shared Objects not being updated under stress.
However still it does not work as expected.

I have a piece of code that does quite some updates on
the same SO, but it seems that using lock and unlock
around it prevents any other updates. If I check
isLocked it is frequently locked. 
I was expecting the thread to wait untill it was
available again.

Or... I'm completely wrong here. I noticed that I get 
frequent 
java.lang.IllegalMonitorStateException: current thread
not owner

now that I'm using a lock. So maybe I should make the
'thread owner'. How do I do that.

Please...any example code is very appreciated.

Best regards Marcel 






 
____________________________________________________________________________________
Now that's room service!  Choose from over 150,000 hotels
in 45,000 destinations on Yahoo! Travel to find your fit.
http://farechase.yahoo.com/promo-generic-14795097

_______________________________________________
Red5 mailing list
[email protected]
http://osflash.org/mailman/listinfo/red5_osflash.org

Reply via email to