Change 16070

ShadauxCat (ShadauxCat)
ShadauxCat committed this change into //guest/ShadauxCat/Sprawl/Mainline/threading under Review 16071
View Review
Download .zip
Fixed possible hang during ThreadManager::RunStaged() and ThreadManager::Sync() in a pre-emptive environment if the mailman thread happens to be pre-empted right after calling m_mailSyncEvent.Notify().

Probably a better fix for this will come in the future. I'm overall not fully sold on the current implementation of Sync().

#review-16071
  • Files 1
  • Comments 0
1 edited 0 added 0 deleted
threadmanager.cpp#7
Loading...
Tip: Use n and p to cycle through the changes.