<s> import gevent <EOL> import gevent . monkey ; gevent . monkey . patch_all ( ) <EOL> import sys <EOL> from couchbase . bucket import Bucket <EOL> def test ( x ) : <EOL> c = Bucket ( '<STR_LIT>' , experimental_gevent_support = True ) <EOL> c . upsert ( "<STR_LIT>" + str ( x ) , <NUM_LIT:1> ) <EOL> sys . stdout . write ( str ( x ) + "<STR_LIT:U+0020>" ) <EOL> sys . stdout . flush ( ) <EOL> print ( "<STR_LIT>" ) <EOL> gevent . joinall ( [ gevent . spawn ( test , x ) for x in xrange ( <NUM_LIT:100> ) ] ) <EOL> print ( "<STR_LIT>" ) </s>
