Skip to content
Snippets Groups Projects
Commit 6ef55d1f authored by Moses Turner's avatar Moses Turner Committed by Ryan Pavlik
Browse files

d/survive: Initialize threading primitive

parent 9ce28b6d
Branches
Tags
No related merge requests found
Pipeline #26277 failed
...@@ -1397,6 +1397,7 @@ survive_device_autoprobe(struct xrt_auto_prober *xap, ...@@ -1397,6 +1397,7 @@ survive_device_autoprobe(struct xrt_auto_prober *xap,
return 0; return 0;
} }
os_thread_helper_init(&ss->event_thread);
ret = os_thread_helper_start(&ss->event_thread, run_event_thread, ss); ret = os_thread_helper_start(&ss->event_thread, run_event_thread, ss);
if (ret != 0) { if (ret != 0) {
U_LOG_IFL_E(ss->log_level, "Failed to start event thread!"); U_LOG_IFL_E(ss->log_level, "Failed to start event thread!");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment