You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Matthew Strayer <mx...@yahoo.com> on 2000/12/19 23:22:29 UTC
Re: Bad Multi-Threading Performances (attached this time)
Here is some code which implements the reader/writer
locking scheme. Instead of having an infinite while
loop, it will abort if the thread is interrupted...I
believe the code correctly handles the exception.
-Matt
__________________________________________________
Do You Yahoo!?
Yahoo! Shopping - Thousands of Stores. Millions of Products.
http://shopping.yahoo.com/