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:
crs
2004-09-29 21:59:26 +00:00
parent 376bba970b
commit 07e2a3e511
18 changed files with 148 additions and 302 deletions

View File

@@ -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