38 template<
class T,
class Container = std::set<T> >
62 std::cout <<
" FXSynchSet::getContainer thread=" << FXWorkerThread::current() <<
"\n";
64 myOwningThread = FXWorkerThread::current();
77 std::cout <<
" FXSynchSet::unlock thread=" << FXWorkerThread::current() <<
"\n";
103 const bool ret =
myItems.size() == 0;
158 return myMutex.locked();
166 mutable FXMutex myMutex;
172 mutable long long int myOwningThread = 0;
174 mutable bool debugflag =
false;
Container & getContainer()
FXSynchSet(const bool condition=true)
bool contains(const T &item) const