MCPcopy Create free account
hub / github.com/cameron314/concurrentqueue / thread

Method thread

tests/relacy/integrated.cpp:112–122  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

110 }
111
112 void thread(unsigned int tid)
113 {
114 RelacyThreadExitNotifier::notify_relacy_thread_start();
115
116 ProducerToken t(q);
117 for (int i = 0; i != 5; ++i) {
118 q.enqueue(t, tid * 10 + i);
119 }
120
121 RelacyThreadExitNotifier::notify_relacy_thread_exit();
122 }
123
124 void after()
125 {

Callers

nothing calls this directly

Calls 1

enqueueMethod · 0.45

Tested by

no test coverage detected