MCPcopy Create free account
hub / github.com/MariaDB/server / join

Method join

plugin/handler_socket/libhsclient/thread.hpp:56–65  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

54 return need_join; /* true */
55 }
56 void join() {
57 if (!need_join) {
58 return;
59 }
60 int e = 0;
61 if ((e = pthread_join(thr, 0)) != 0) {
62 fatal_abort("pthread_join");
63 }
64 need_join = false;
65 }
66 T& operator *() { return obj; }
67 T *operator ->() { return &obj; }
68 private:

Callers 1

stop_workersMethod · 0.45

Calls 2

pthread_joinFunction · 0.85
fatal_abortFunction · 0.85

Tested by

no test coverage detected