Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 May 2001 16:08:33 -0700 (PDT)
From:      Jason Evans <jasone@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/lib/libc_r/uthread pthread_private.h uthread_acl_aclcheck_fd.c uthread_cancel.c uthread_create.c uthread_detach.c uthread_exit.c uthread_init.c uthread_join.c uthread_resume_np.c uthread_sig.c uthread_suspend_np.c
Message-ID:  <200105202308.f4KN8XU91916@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
jasone      2001/05/20 16:08:33 PDT

  Modified files:
    lib/libc_r/uthread   pthread_private.h 
                         uthread_acl_aclcheck_fd.c 
                         uthread_cancel.c uthread_create.c 
                         uthread_detach.c uthread_exit.c 
                         uthread_init.c uthread_join.c 
                         uthread_resume_np.c uthread_sig.c 
                         uthread_suspend_np.c 
  Log:
  Instead of using a join queue for each thread, use a single pointer to
  keep track of a joiner.  POSIX only supports a single joiner, so this
  simplification is acceptable.
  
  At the same time, make sure to mark a joined thread as detached so that
  its resources can be freed.
  
  Reviewed by:	deischen
  PR:		24345
  
  Revision  Changes    Path
  1.57      +17 -18    src/lib/libc_r/uthread/pthread_private.h
  1.3       +2 -2      src/lib/libc_r/uthread/uthread_acl_aclcheck_fd.c
  1.8       +4 -2      src/lib/libc_r/uthread/uthread_cancel.c
  1.30      +3 -3      src/lib/libc_r/uthread/uthread_create.c
  1.16      +10 -10    src/lib/libc_r/uthread/uthread_detach.c
  1.23      +31 -22    src/lib/libc_r/uthread/uthread_exit.c
  1.32      +3 -3      src/lib/libc_r/uthread/uthread_init.c
  1.17      +34 -84    src/lib/libc_r/uthread/uthread_join.c
  1.12      +5 -1      src/lib/libc_r/uthread/uthread_resume_np.c
  1.37      +2 -10     src/lib/libc_r/uthread/uthread_sig.c
  1.13      +7 -2      src/lib/libc_r/uthread/uthread_suspend_np.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?200105202308.f4KN8XU91916>