Cleaned up some extraneous comments.

This commit is contained in:
casey langen 2020-01-28 22:09:57 -08:00
parent efe03ce785
commit f2a9fe6791

View File

@ -57,18 +57,11 @@ using namespace musik::core::audio;
using namespace musik::core::sdk;
using namespace musik::core::runtime;
/*
*
* internal_message_queue
*
*/
class internal_message_queue: public MessageQueue {
public:
internal_message_queue(): MessageQueue() {
this->quit = false;
}
void Quit() {
{
LockT lock(this->mutex);
@ -76,7 +69,6 @@ class internal_message_queue: public MessageQueue {
}
this->Post(Message::Create(0, 0, 0, 0));
}
void Run() {
while (true) {
this->WaitAndDispatch();
@ -88,19 +80,12 @@ class internal_message_queue: public MessageQueue {
}
}
}
private:
using LockT = std::unique_lock<std::mutex>;
bool quit;
std::mutex mutex;
};
/*
*
* instance context
*
*/
struct mcsdk_context_internal {
internal_message_queue message_queue;
std::thread thread;