Read on file descriptor permanently hangs
Opened this issue · 0 comments
ooogaboooga commented
LLD/linux_os/part10/src/mydrm/mydrm.c
Line 122 in 7c3c7b2
The file descriptor for the card[number]
is set to be read in the function mydrm_handle_event
; yet when it is passed, and the respective read operation is called on it, the entire execution hangs indefinitely, what could cause this, as the card device was being read previously via the mydrm_open
in src/drmlist/drmlist.c; I thought maybe the file descriptors cursor may have to of been re-positioned to the beginning, but this proved unsuccessful.
Any suggestions?