Lines Matching refs:threadName
57 * @deprecated This function is deprecated, use 'Create(const std::string &threadName, ThreadMode threadMode)'.
75 * @deprecated This function is deprecated, use 'Create(const std::string &threadName, ThreadMode threadMode)'.
76 * @param threadName Thread name of the new created thread.
79 static std::shared_ptr<EventRunner> Create(const std::string &threadName)
81 return Create(threadName, Mode::DEFAULT, ThreadMode::NEW_THREAD);
87 * @param threadName Thread name of the new created thread.
91 static std::shared_ptr<EventRunner> Create(const std::string &threadName, ThreadMode threadMode)
93 return Create(threadName, Mode::DEFAULT, threadMode);
98 * Eliminate ambiguity, while calling like 'EventRunner::Create("threadName")'.
100 * @deprecated This function is deprecated, use 'Create(const char *threadName, ThreadMode threadMode)'.
101 * @param threadName Thread name of the new created thread.
104 static inline std::shared_ptr<EventRunner> Create(const char *threadName)
106 return Create((threadName != nullptr) ? std::string(threadName) : std::string(), Mode::DEFAULT,
112 * Eliminate ambiguity, while calling like 'EventRunner::Create("threadName")'.
114 * @param threadName Thread name of the new created thread.
118 static inline std::shared_ptr<EventRunner> Create(const char *threadName, ThreadMode threadMode)
120 return Create((threadName != nullptr) ? std::string(threadName) : std::string(), Mode::DEFAULT, threadMode);
126 * @param threadName Thread name of the new created thread.
129 static std::shared_ptr<EventRunner> CreateNoWait(const std::string &threadName)
131 return Create(threadName, Mode::NO_WAIT, ThreadMode::NEW_THREAD);
321 static std::shared_ptr<EventRunner> Create(const std::string &threadName, Mode mode, ThreadMode threadMode);