pipe: fifo polling

This commit is contained in:
Matheus
2022-10-16 00:42:08 -03:00
parent 6b74e36bf3
commit a2c41882f3
3 changed files with 31 additions and 0 deletions
+1
View File
@@ -107,6 +107,7 @@ int vfs_poll(vnode_t* node, pollfd* fd){
case TYPE_BLOCKDEV:
return devman_poll(node->st.st_rdev, fd);
case TYPE_FIFO:
return pipe_poll(node->objdata, fd);
default:
_panic("Unsupported poll", NULL);
}