Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Mar 2008 07:01:21 +0000 (UTC)
From:      David Xu <davidxu@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/lib/libthr/thread thr_create.c thr_init.c thr_private.h
Message-ID:  <200803050701.m2571LNq009838@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



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