lua: rocklib_events fix
Do not spawn threads on COP as PP lacks cache coherency between cores, making it unsafe to access cacheable memory that might be accessed by the other core. Change-Id: Idf910e9cc9dad3f0bf5bdb63800ed4abaa97558a
This commit is contained in:
parent
84fe501f53
commit
e8e781b006
1 changed files with 1 additions and 1 deletions
|
@ -423,7 +423,7 @@ static void init_event_thread(bool init, struct event_data *ev_data)
|
||||||
0,
|
0,
|
||||||
EVENT_THREAD
|
EVENT_THREAD
|
||||||
IF_PRIO(, PRIORITY_SYSTEM)
|
IF_PRIO(, PRIORITY_SYSTEM)
|
||||||
IF_COP(, COP));
|
IF_COP(, CPU));
|
||||||
|
|
||||||
/* Timer is used to poll waiting events */
|
/* Timer is used to poll waiting events */
|
||||||
if (!rb->timer_register(1, NULL, EV_TIMER_FREQ, rev_timer_isr IF_COP(, CPU)))
|
if (!rb->timer_register(1, NULL, EV_TIMER_FREQ, rev_timer_isr IF_COP(, CPU)))
|
||||||
|
|
Loading…
Reference in a new issue