mirror of
https://github.com/mmueller41/genode.git
synced 2026-01-21 20:42:56 +01:00
committed by
Christian Helmuth
parent
679f66667c
commit
d7b88afb68
@@ -36,9 +36,12 @@ int Pd_session_component::bind_thread(Thread_capability thread)
|
||||
|
||||
Platform_thread *p_thread = cpu_thread->platform_thread();
|
||||
|
||||
_pd.bind_thread(p_thread);
|
||||
cpu_thread->bound(true);
|
||||
int res = _pd.bind_thread(p_thread);
|
||||
|
||||
if (res)
|
||||
return res;
|
||||
|
||||
cpu_thread->bound(true);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user