/[svn]/linuxsampler/trunk/src/network/lscpserver.cpp
ViewVC logotype

Diff of /linuxsampler/trunk/src/network/lscpserver.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1541 by iliev, Tue Dec 4 18:09:26 2007 UTC revision 1551 by schoenebeck, Wed Dec 5 22:05:28 2007 UTC
# Line 446  void LSCPServer::CloseConnection( std::v Line 446  void LSCPServer::CloseConnection( std::v
446          NotifyMutex.Unlock();          NotifyMutex.Unlock();
447  }  }
448    
449    void LSCPServer::LockRTNotify() {
450        RTNotifyMutex.Lock();
451    }
452    
453    void LSCPServer::UnlockRTNotify() {
454        RTNotifyMutex.Unlock();
455    }
456    
457  int LSCPServer::EventSubscribers( std::list<LSCPEvent::event_t> events ) {  int LSCPServer::EventSubscribers( std::list<LSCPEvent::event_t> events ) {
458          int subs = 0;          int subs = 0;
459          SubscriptionMutex.Lock();          SubscriptionMutex.Lock();
# Line 2545  void LSCPServer::VerifyFile(String Filen Line 2553  void LSCPServer::VerifyFile(String Filen
2553      if ( win32FileAttributeData.dwFileAttributes & FILE_ATTRIBUTE_DIRECTORY ) {      if ( win32FileAttributeData.dwFileAttributes & FILE_ATTRIBUTE_DIRECTORY ) {
2554          throw Exception("Directory is specified");          throw Exception("Directory is specified");
2555      }      }
2556      #else          #else
2557      struct stat statBuf;      struct stat statBuf;
2558      int res = stat(Filename.c_str(), &statBuf);      int res = stat(Filename.c_str(), &statBuf);
2559      if (res) {      if (res) {

Legend:
Removed from v.1541  
changed lines
  Added in v.1551

  ViewVC Help
Powered by ViewVC