def worker(seq, s, break_on):
		print('------enter worker------')
		for char in s:
			seq[ char ] = True
			if break_on in seq:
				break
		#while break_on not in seq:
		#	seq[ '-' ] = False
		sleep(0.1)  # this sleep is not required in normal CPython

		print('worker exit')
		print(seq)
dataset/ETHPy150Open PythonJS/PythonJS/regtests/threads/shared_dict_coop.py/worker/original