Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added lock guards around the DSP LLE cycle count updating. #1746

Merged
merged 1 commit into from Dec 22, 2014

Conversation

skidau
Copy link
Contributor

@skidau skidau commented Dec 21, 2014

Added lock guards around the DSP LLE cycle count updating.
Changed the isRunning flag to a Common::Flag.

m_bIsRunning = false;
m_bIsRunning.Clear();
{
std::lock_guard<std::mutex> lk(m_csDSPCycleCountActive);

This comment was marked as off-topic.

@skidau
Copy link
Contributor Author

skidau commented Dec 21, 2014

For the braces, I followed the style used by the existing codebase.

@lioncash
Copy link
Member

@BhaaLseN Unfortunately that's the convention that already exists in the codebase, so I think changing it would break consistency.

Changed the isRunning flag to a Common::Flag.
skidau added a commit that referenced this pull request Dec 22, 2014
Added lock guards around the DSP LLE cycle count updating.
@skidau skidau merged commit a00aa1a into dolphin-emu:master Dec 22, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants