lkml.org 
[lkml]   [1999]   [Sep]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectCan a char device close() block
This is a more general question based on the thread
"NONBLOCKing close blocks in named" which was referring
to sockets.

I presumed that the close() on a char driver like
the SCSI sg could not block. This opens up the problem
of what to do if the file descriptor in question still
has a SCSI command outstanding. This can be handled
by flagging but the wheels fall off if the driver
is a module and a "rmmod" is then performed. [Should a
"rmmod" be blocked in this situation?]

Doug Gilbert

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:54    [W:0.048 / U:0.204 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site