using a global dictionary with threads in python,global_dict['bar'] = 'hello'