kopia lustrzana https://github.com/espressif/esp-idf
Merge branch 'bugfix/eventfd-isr-mismatch' into 'master'
vfs: fix occasional ISR context mismatch in event fd See merge request espressif/esp-idf!15240pull/7680/head
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;
|
||||
|
|
Ładowanie…
Reference in New Issue