Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 Apr 1998 00:47:24 -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 pthread_private.h uthread_create.c uthread_file.c uthread_info.c uthread_kern.c
Message-ID:  <199804110747.AAA00678@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
jb          1998/04/11 00:47:23 PDT

  Modified files:
    lib/libc_r/uthread   pthread_private.h uthread_create.c 
                         uthread_file.c uthread_info.c 
                         uthread_kern.c 
  Log:
  Change the FILE locking to be by FILE, not by the underlying fd as
  it was. Add a FILE_WAIT state and queue threads waiting for a FILE
  lock. Start using the sys/queue.h macros instead of the way that MIT
  pthreads did it.
  
  Add a thread name to the private thread structure and a non-POSIX
  function to set this. This helps (me at least) when sending a SIGINFO
  to a threaded process to get a /tmp/uthread.dump to see what the
  <expletive deleted> threads are doing this time. It is nice to be
  able to recognise (yes, I spell that with an 's' too) which threads
  are which.
  
  Revision  Changes    Path
  1.9       +9 -2      src/lib/libc_r/uthread/pthread_private.h
  1.8       +7 -0      src/lib/libc_r/uthread/uthread_create.c
  1.2       +282 -48   src/lib/libc_r/uthread/uthread_file.c
  1.3       +19 -8     src/lib/libc_r/uthread/uthread_info.c
  1.8       +4 -1      src/lib/libc_r/uthread/uthread_kern.c

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message



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