// A SuspendibleThreadSet is a set of threads that can be suspended. // A thread can join and later leave the set, and periodically yield. // If some thread (not in the set) requests, via synchronize(), that // the threads be suspended, then the requesting thread is blocked // until all the threads in the set have yielded or left the set. Threads // may not enter the set when an attempted suspension is in progress. The // suspending thread later calls desynchronize(), allowing the suspended // threads to continue. class SuspendibleThreadSet : public AllStatic { friendclass SuspendibleThreadSetJoiner; friendclass SuspendibleThreadSetLeaver;
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.