Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Jul 2003 10:02:34 -0700 (PDT)
From:      Mark Peek <mp@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/lib/libc_r/uthread Makefile.inc uthread_kqueue.c
Message-ID:  <200307251702.h6PH2Y81044017@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
mp          2003/07/25 10:02:34 PDT

  FreeBSD src repository

  Modified files:
    lib/libc_r/uthread   Makefile.inc 
  Added files:
    lib/libc_r/uthread   uthread_kqueue.c 
  Log:
  Add wrapper for kqueue() to keep track of the allocated fd and allow it to
  be closed. This fixes a file descriptor leak when closing a kqueue() fd.
  
  Reviewed by:    deischen
  MFC after:      1 week
  
  Revision  Changes    Path
  1.37      +1 -0      src/lib/libc_r/uthread/Makefile.inc
  1.1       +53 -0     src/lib/libc_r/uthread/uthread_kqueue.c (new)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200307251702.h6PH2Y81044017>