diff options
author | Christian Pointner <equinox@anytun.org> | 2014-06-29 00:06:23 +0000 |
---|---|---|
committer | Christian Pointner <equinox@anytun.org> | 2014-06-29 00:06:23 +0000 |
commit | 92a551b96e625257def26771155ebd64c6d8757e (patch) | |
tree | 7d5b2d0a043f746bfb10ccc9679ac59646a95b72 /src/syncQueue.h | |
parent | while(1) vs. for(;;) (diff) |
fixed not working singletons - still not threadsafe but at least they don't pretend to be
Diffstat (limited to 'src/syncQueue.h')
-rw-r--r-- | src/syncQueue.h | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/syncQueue.h b/src/syncQueue.h index fb01a40..d95519f 100644 --- a/src/syncQueue.h +++ b/src/syncQueue.h @@ -55,17 +55,6 @@ public: bool empty(); private: - static Mutex instMutex; - static SyncQueue* inst; - class instanceCleaner - { - public: - ~instanceCleaner() { - if(SyncQueue::inst != 0) { - delete SyncQueue::inst; - } - } - }; SyncQueue(const SyncQueue& s); void operator=(const SyncQueue& s); Mutex mutex_; |