0
我有一个BackgroundWorker,包括读/写IsolatedStorage。在工作人员运行之前,我从IsolatedStorage中读取数据。我是否必须担心使用互斥锁,还是只有在读取完成后才开始工作?BackgroundWorker在上一行代码之前运行?
//read from IsolatedStorage here
bgw.RunWorkerAsync(); //includes read/writes to IsolatedStorage