0
我有一個BackgroundWorker,包括讀/寫IsolatedStorage。在工作人員運行之前,我從IsolatedStorage中讀取數據。我是否必須擔心使用互斥鎖,還是隻有在讀取完成後纔開始工作?BackgroundWorker在上一行代碼之前運行?
//read from IsolatedStorage here
bgw.RunWorkerAsync(); //includes read/writes to IsolatedStorage