MCPcopy Create free account
hub / github.com/acl-dev/acl / run

Method run

lib_acl_cpp/samples/thread_queue/main.cpp:105–117  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

103
104protected:
105 void* run()
106 {
107 for (int i = 0; i < max_; i++)
108 {
109 queue_item* item = new queue_item(MSG_ECHO);
110 queue_.push(item);
111 }
112 printf("push msg ok\r\n");
113
114 queue_item* item = new queue_item(MSG_STOP);
115 queue_.push(item);
116 return NULL;
117 }
118
119private:
120 acl::thread_queue& queue_;

Callers

nothing calls this directly

Calls 1

pushMethod · 0.45

Tested by

no test coverage detected