lkml.org 
[lkml]   [2000]   [Aug]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: [PATCH] thread wakeup fix for 2.4.0-test7
    Date
    From
    > 	The close() function will deallocate the file descriptor
    > indicated by fildes. To deallocate means to make the file
    > descriptor available for return by subsequent calls to open()
    > or other functions that allocate file descriptors.
    >
    > So we could sleep in close (forever, maybe) until the polls are
    > finished if you prefer.
    >
    > close doesn't close. This would be a ``bug'', Linus.

    Nope. The fd can be closed and a new one opened while the poll sleeps on the
    existing one. The current code is compliant

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

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