Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Apr 2003 13:28:33 -0700 (PDT)
From:      Daniel Eischen <deischen@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/lib/libpthread/thread thr_cond.c thr_create.c thr_init.c thr_kern.c thr_private.h
Message-ID:  <200304222028.h3MKSX64062248@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
deischen    2003/04/22 13:28:33 PDT

  FreeBSD src repository

  Modified files:
    lib/libpthread/thread thr_cond.c thr_create.c thr_init.c 
                          thr_kern.c thr_private.h 
  Log:
  Add a couple asserts to pthread_cond_foo to ensure the (low-level)
  lock level is 0.  Thus far, the threads implementation doesn't use
  mutexes or condition variables so the lock level should be 0.
  
  Save the return value when trying to schedule a new thread and
  use this to return an error from pthread_create().
  
  Change the max sleep time for an idle KSE to 1 minute from 2 minutes.
  
  Maintain a count of the number of KSEs within a KSEG.
  
  With these changes scope system threads seem to work, but heavy
  use of them crash the kernel (supposedly VM bugs).
  
  Revision  Changes    Path
  1.37      +6 -0      src/lib/libpthread/thread/thr_cond.c
  1.41      +15 -1     src/lib/libpthread/thread/thr_create.c
  1.49      +3 -0      src/lib/libpthread/thread/thr_init.c
  1.56      +45 -19    src/lib/libpthread/thread/thr_kern.c
  1.82      +3 -1      src/lib/libpthread/thread/thr_private.h



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