mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
Merge branch 'bugfix/eventfd-isr-mismatch' into 'master'
vfs: fix occasional ISR context mismatch in event fd See merge request espressif/esp-idf!15240
This commit is contained in:
commit
0d4126b755
@ -260,7 +260,7 @@ static ssize_t event_write(int fd, const void *data, size_t size)
|
||||
return ret;
|
||||
}
|
||||
|
||||
if (xPortInIsrContext()) {
|
||||
if (!xPortCanYield()) {
|
||||
ret = signal_event_fd_from_isr(fd, data, size);
|
||||
} else {
|
||||
const uint64_t *val = (const uint64_t *)data;
|
||||
|
Loading…
Reference in New Issue
Block a user