I have a function that both the work thread and the UI thread will
call it , i think there exist such a possibility that they will call it at the same time(of course,not real "the same time"),is there any kind of mutex needed ?