Browse Source
Most kernel objects should be initialized well before being manipulated in ISR context. Event objects are no exception. Initializing a k_event object in ISR context would implicitly be racey and introduce an element of non-determinism. Assert that k_event_init() is not called from ISR context. Signed-off-by: Chris Friedt <cfriedt@tenstorrent.com>pull/89381/head
1 changed files with 2 additions and 0 deletions
Loading…
Reference in new issue