1 |
/*************************************************************************** |
/*************************************************************************** |
2 |
* * |
* * |
3 |
* Copyright (C) 2005, 2006 Christian Schoenebeck * |
* Copyright (C) 2005 - 2007 Christian Schoenebeck * |
4 |
* * |
* * |
5 |
* This library is free software; you can redistribute it and/or modify * |
* This library is free software; you can redistribute it and/or modify * |
6 |
* it under the terms of the GNU General Public License as published by * |
* it under the terms of the GNU General Public License as published by * |
20 |
|
|
21 |
#include "InstrumentManagerThread.h" |
#include "InstrumentManagerThread.h" |
22 |
|
|
23 |
|
#include "../common/global_private.h" |
24 |
|
|
25 |
namespace LinuxSampler { |
namespace LinuxSampler { |
26 |
|
|
27 |
InstrumentManagerThread::InstrumentManagerThread() : Thread(true, false, 0, -4) { |
InstrumentManagerThread::InstrumentManagerThread() : Thread(true, false, 0, -4) { |
107 |
default: |
default: |
108 |
std::cerr << "InstrumentManagerThread: unknown command - BUG!\n" << std::flush; |
std::cerr << "InstrumentManagerThread: unknown command - BUG!\n" << std::flush; |
109 |
} |
} |
110 |
} |
} catch (Exception e) { |
|
catch (Exception e) { |
|
111 |
e.PrintMessage(); |
e.PrintMessage(); |
112 |
|
} catch (...) { |
113 |
|
std::cerr << "InstrumentManagerThread: some exception occured, could not finish task\n" << std::flush; |
114 |
} |
} |
115 |
|
|
116 |
// remove processed command from queue |
// remove processed command from queue |