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/

Reply via email to