Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Apr 2003 19:05:40 -0800 (PST)
From:      Jeff Roberson <jeff@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/lib/libthr/thread thr_cancel.c thr_clean.c thr_cond.c thr_create.c thr_detach.c thr_exit.c thr_find_thread.c thr_gc.c thr_info.c thr_init.c thr_join.c thr_mutex.c thr_private.h thr_resume_np.c thr_self.c thr_sem.c ...
Message-ID:  <200304020305.h3235ekQ010146@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
jeff        2003/04/01 19:05:40 PST

  FreeBSD src repository

  Modified files:
    lib/libthr/thread    thr_cancel.c thr_clean.c thr_cond.c 
                         thr_create.c thr_detach.c thr_exit.c 
                         thr_find_thread.c thr_gc.c thr_info.c 
                         thr_init.c thr_join.c thr_mutex.c 
                         thr_private.h thr_resume_np.c thr_self.c 
                         thr_sem.c thr_setschedparam.c thr_sig.c 
                         thr_spec.c thr_spinlock.c 
  Log:
   - Define curthread as _get_curthread() and remove all direct calls to
     _get_curthread().  This is similar to the kernel's curthread.  Doing
     this saves stack overhead and is more convenient to the programmer.
   - Pass the pointer to the newly created thread to _thread_init().
   - Remove _get_curthread_slow().
  
  Revision  Changes    Path
  1.2       +0 -10     src/lib/libthr/thread/thr_cancel.c
  1.2       +0 -2      src/lib/libthr/thread/thr_clean.c
  1.3       +0 -6      src/lib/libthr/thread/thr_cond.c
  1.2       +4 -12     src/lib/libthr/thread/thr_create.c
  1.2       +0 -4      src/lib/libthr/thread/thr_detach.c
  1.2       +0 -3      src/lib/libthr/thread/thr_exit.c
  1.2       +0 -2      src/lib/libthr/thread/thr_find_thread.c
  1.2       +0 -1      src/lib/libthr/thread/thr_gc.c
  1.2       +0 -1      src/lib/libthr/thread/thr_info.c
  1.2       +0 -16     src/lib/libthr/thread/thr_init.c
  1.3       +0 -1      src/lib/libthr/thread/thr_join.c
  1.3       +5 -8      src/lib/libthr/thread/thr_mutex.c
  1.3       +9 -5      src/lib/libthr/thread/thr_private.h
  1.2       +0 -4      src/lib/libthr/thread/thr_resume_np.c
  1.2       +1 -1      src/lib/libthr/thread/thr_self.c
  1.2       +0 -2      src/lib/libthr/thread/thr_sem.c
  1.3       +0 -2      src/lib/libthr/thread/thr_setschedparam.c
  1.2       +0 -1      src/lib/libthr/thread/thr_sig.c
  1.2       +2 -9      src/lib/libthr/thread/thr_spec.c
  1.2       +0 -6      src/lib/libthr/thread/thr_spinlock.c



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