phoenix-rtos / phoenix-rtos-project

Sample project using Phoenix-RTOS
https://phoenix-rtos.com
BSD 3-Clause "New" or "Revised" License
45 stars 32 forks source link

reading STDIN freezes a system #1133

Open damianloew opened 2 months ago

damianloew commented 2 months ago
#include <stdio.h>

int main() {
    char c;
    c = getchar();

    return 0;
}
damianloew commented 2 months ago

The issue happens after applying the following commit: ea15 (HEAD) unistd/file: provide safe write/read/open/close functions

lukileczo commented 2 months ago

Seems to be fixed by @ziemleszcz in https://github.com/phoenix-rtos/libphoenix/pull/376

badochov commented 1 month ago

Shall we close it?

nalajcie commented 1 month ago

The mentioned PR is not yet merged and the issue still persists on master so please keep it open.

The PR doesn't yet fix all of the issues, so it's not merge-ready.