mirror of
https://github.com/debauchee/barrier.git
synced 2026-11-22 03:41:57 +08:00
Removed recursive mutexes. Simplified stream filters as a side
effect. Removed -D_BSD_SOURCE and -D_XOPEN_SOURCE=500 from compile since they're not longer necessary.
This commit is contained in:
@@ -38,7 +38,6 @@ CClientTaskBarReceiver::updateStatus(CClient* client, const CString& errorMsg)
|
||||
{
|
||||
{
|
||||
// update our status
|
||||
CLock lock(&m_mutex);
|
||||
m_errorMessage = errorMsg;
|
||||
if (client == NULL) {
|
||||
if (m_errorMessage.empty()) {
|
||||
@@ -95,13 +94,13 @@ CClientTaskBarReceiver::onStatusChanged(CClient*)
|
||||
void
|
||||
CClientTaskBarReceiver::lock() const
|
||||
{
|
||||
m_mutex.lock();
|
||||
// do nothing
|
||||
}
|
||||
|
||||
void
|
||||
CClientTaskBarReceiver::unlock() const
|
||||
{
|
||||
m_mutex.unlock();
|
||||
// do nothing
|
||||
}
|
||||
|
||||
std::string
|
||||
|
||||
Reference in New Issue
Block a user