Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Mar 2003 21:49:38 -0800 (PST)
From:      David Xu <davidxu@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/sys kse.h proc.h src/sys/kern kern_switch.c kern_synch.c kern_thread.c
Message-ID:  <200303190549.h2J5nc7j008719@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
davidxu     2003/03/18 21:49:38 PST

  FreeBSD src repository

  Modified files:
    sys/sys              kse.h proc.h 
    sys/kern             kern_switch.c kern_synch.c kern_thread.c 
  Log:
  Adjust code for userland preemptive. Userland can set a quantum in
  kse_mailbox to schedule an upcall, this is useful for userland timeout
  routine, for example pthread_cond_timedwait().
  
  Also extract upcall scheduling code from kse_reassign and create
  a new function called thread_switchout to include these code.
  
  Reviewed by: julain
  
  Revision  Changes    Path
  1.56      +1 -27     src/sys/kern/kern_switch.c
  1.215     +2 -1      src/sys/kern/kern_synch.c
  1.108     +45 -24    src/sys/kern/kern_thread.c
  1.12      +2 -1      src/sys/sys/kse.h
  1.306     +4 -1      src/sys/sys/proc.h

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-src" in the body of the message




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