cvs commit: src/lib/libthr/thread thr_create.c thr_init.c thr_private.h

David Xu davidxu at FreeBSD.org
Wed Mar 5 07:01:22 UTC 2008


davidxu     2008-03-05 07:01:21 UTC

  FreeBSD src repository

  Modified files:
    lib/libthr/thread    thr_create.c thr_init.c thr_private.h 
  Log:
  Use cpuset defined in pthread_attr for newly created thread, for now,
  we set scheduling parameters and cpu binding fully in userland, and
  because default scheduling policy is SCHED_RR (time-sharing), we set
  default sched_inherit to PTHREAD_SCHED_INHERIT, this saves a system
  call.
  
  Revision  Changes    Path
  1.39      +51 -20    src/lib/libthr/thread/thr_create.c
  1.49      +1 -1      src/lib/libthr/thread/thr_init.c
  1.85      +5 -0      src/lib/libthr/thread/thr_private.h


More information about the cvs-src mailing list