def _greenthread_yield(dbapi_con, con_record):
 greenthread.sleep(0)

def _greenthread_yield ( dbapi_con , con_record ) : greenthread . sleep ( 0 )
ensure other greenthreads get a chance to be executed .