Skip to content

Commit

Permalink
Update core/threaded/reactor_threaded.c
Browse files Browse the repository at this point in the history
Co-authored-by: Edward A. Lee <eal@eecs.berkeley.edu>
  • Loading branch information
erlingrj and edwardalee authored Oct 28, 2024
1 parent 3acce7a commit 6c2ffb6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions core/threaded/reactor_threaded.c
Original file line number Diff line number Diff line change
Expand Up @@ -1173,6 +1173,7 @@ int lf_critical_section_exit(environment_t* env) {
if (env == GLOBAL_ENVIRONMENT) {
int ret_code = lf_mutex_unlock(&global_mutex);
if (ret_code != 0) {
lf_enable_interrupts_nested();
return ret_code;
}
return lf_enable_interrupts_nested();
Expand Down

0 comments on commit 6c2ffb6

Please sign in to comment.