From: R D. <rd...@cr...> - 2002-01-09 19:53:35
|
I am working on a jython script that starts multiple threads. The threads report statistics (like how many transactions per second) to the monitor thread, ie, each thread would need to lock the statistics variable, update it and then release the lock. Could someone send me some sample code that illustrates how to lock a variable in jython? Thanks Raj Datta Professional Services Direct : 408-530-4932 CrossAccess Corp Cell : 408-316-5473 2900 Gordon Ave #100 Fax : 408-735-0328 Santa Clara CA 95051 Email : rd...@cr... |