MCPcopy Create free account
hub / github.com/OpenMined/TenSEAL / done

Method done

tenseal/cpp/utils/queue.h:50–56  ·  view source on GitHub ↗

* done() notifies all listeners to shutdown. **/

Source from the content-addressed store, hash-verified

48 * done() notifies all listeners to shutdown.
49 **/
50 void done() noexcept {
51 {
52 std::scoped_lock lock{mutex_};
53 done_ = true;
54 }
55 ready_.notify_all();
56 }
57 /**
58 * empty() returns if the queue is empty or not.
59 **/

Callers 1

~ThreadPoolMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected