Author: brandonwilliams Date: Tue Dec 21 18:10:02 2010 New Revision: 1051591
URL: http://svn.apache.org/viewvc?rev=1051591&view=rev Log: Make stress.py trigger python issue 3770 during import. Patch by Peter Schuller, reviewed by brandonwilliams for CASSANDRA-1880 Modified: cassandra/branches/cassandra-0.7/contrib/py_stress/stress.py Modified: cassandra/branches/cassandra-0.7/contrib/py_stress/stress.py URL: http://svn.apache.org/viewvc/cassandra/branches/cassandra-0.7/contrib/py_stress/stress.py?rev=1051591&r1=1051590&r2=1051591&view=diff ============================================================================== --- cassandra/branches/cassandra-0.7/contrib/py_stress/stress.py (original) +++ cassandra/branches/cassandra-0.7/contrib/py_stress/stress.py Tue Dec 21 18:10:02 2010 @@ -24,6 +24,7 @@ have_multiproc = False try: from multiprocessing import Array as array, Process as Thread from uuid import uuid1 as get_ident + array('i', 1) # catch "This platform lacks a functioning sem_open implementation" Thread.isAlive = Thread.is_alive have_multiproc = True except ImportError:
