--- linuxsampler/trunk/src/network/lscpserver.cpp 2007/12/05 15:01:12 1550 +++ linuxsampler/trunk/src/network/lscpserver.cpp 2007/12/05 22:05:28 1551 @@ -446,6 +446,14 @@ NotifyMutex.Unlock(); } +void LSCPServer::LockRTNotify() { + RTNotifyMutex.Lock(); +} + +void LSCPServer::UnlockRTNotify() { + RTNotifyMutex.Unlock(); +} + int LSCPServer::EventSubscribers( std::list events ) { int subs = 0; SubscriptionMutex.Lock(); @@ -2545,7 +2553,7 @@ if ( win32FileAttributeData.dwFileAttributes & FILE_ATTRIBUTE_DIRECTORY ) { throw Exception("Directory is specified"); } - #else + #else struct stat statBuf; int res = stat(Filename.c_str(), &statBuf); if (res) {