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:
Guo Jia Cheng 2021-09-18 02:56:11 +00:00
commit 0d4126b755

View File

@ -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;