Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Jun 1998 16:16:55 -0700 (PDT)
From:      John Birrell <jb@FreeBSD.ORG>
To:        cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-lib@FreeBSD.ORG
Subject:   cvs commit: src/lib/libc_r/uthread uthread_fd.c
Message-ID:  <199806092316.QAA02482@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
jb          1998/06/09 16:16:54 PDT

  Modified files:
    lib/libc_r/uthread   uthread_fd.c 
  Log:
  Add compile time debug instead of doing this all the time. Reduce the
  time that a thread keeps the file descriptor table locked. In particular,
  perform malloc/free calls outside the lock and handle the situation
  where two threads can race to initialise the table entry for the same
  file descriptor.
  
  Revision  Changes    Path
  1.8       +333 -46   src/lib/libc_r/uthread/uthread_fd.c



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