37 template<
class T,
class Container = std::set<T> >
61 std::cout <<
" MFXSynchSet::getContainer thread=" << MFXWorkerThread::current() <<
"\n";
63 myOwningThread = MFXWorkerThread::current();
76 std::cout <<
" MFXSynchSet::unlock thread=" << MFXWorkerThread::current() <<
"\n";
116 size_t result =
myItems.count(what);
131 const bool ret =
myItems.size() == 0;
186 return myMutex.locked();
194 mutable FXMutex myMutex;
200 mutable long long int myOwningThread = 0;
202 mutable bool debugflag =
false;
MFXSynchSet(const bool condition=true)
bool contains(const T &item) const
Container & getContainer()