Go to file
Andreas Kling c6f2890d8e Implement a basic way for read() to block.
FileHandle gets a hasDataAvailableForRead() getter.
If this returns true in sys$read(), the task will block(BlockedRead) + yield.
The fd blocked on is stored in Task::m_fdBlockedOnRead.
The scheduler then looks at the state of that fd during the unblock phase.

This makes "sh" restful. :^)

There's still some problem with the kernel not surviving the colonel task
getting scheduled. I need to figure that out and fix it.
2018-10-25 13:09:56 +02:00
AK Add a very naive block cache to the DiskBackedFileSystem. 2018-10-25 12:36:50 +02:00
ELFLoader Implement errno in LibC. 2018-10-25 12:06:50 +02:00
Kernel Implement a basic way for read() to block. 2018-10-25 13:09:56 +02:00
LibC Implement errno in LibC. 2018-10-25 12:06:50 +02:00
Userland Implement errno in LibC. 2018-10-25 12:06:50 +02:00
VirtualFileSystem Implement a basic way for read() to block. 2018-10-25 13:09:56 +02:00
Widgets Let widget have a font() instead of using Font::defaultFont() everywhere. 2018-10-14 13:06:05 +02:00
.gitignore Add simplified mmap() and munmap() syscalls. 2018-10-24 09:48:41 +02:00
Banner.txt Add a cool banner. 2018-10-10 13:18:46 +02:00