beremiz

Adding Lock around C code called by Debug thread
import time,sys
def myprintfunc(arg):
print arg
sys.stdout.flush()
return arg