MCPcopy Create free account
hub / github.com/RT-Thread/rt-thread / rt_thread_find

Function rt_thread_find

src/thread.c:1186–1189  ·  view source on GitHub ↗

* @brief This function will find the specified thread. * * @note Please don't invoke this function in interrupt status. * * @param name is the name of thread finding. * * @return If the return value is a rt_thread structure pointer, the function is successfully executed. * If the return value is RT_NULL, it means this operation failed. */

Source from the content-addressed store, hash-verified

1184 * If the return value is RT_NULL, it means this operation failed.
1185 */
1186rt_thread_t rt_thread_find(char *name)
1187{
1188 return (rt_thread_t)rt_object_find(name, RT_Object_Class_Thread);
1189}
1190
1191RTM_EXPORT(rt_thread_find);
1192

Callers 10

sys_thread_findFunction · 0.85
rt_serial_controlFunction · 0.85
rt_serial_controlFunction · 0.85
rt_link_deinitFunction · 0.85
ccap_grabber_createFunction · 0.85
ccap_grabber_createFunction · 0.85
generate_unique_nameFunction · 0.85

Calls 1

rt_object_findFunction · 0.85

Tested by 1