cvs commit: src/sys/kern kern_synch.c src/sys/sys proc.h

Bruce M Simpson bms at FreeBSD.org
Sun Oct 5 02:35:10 PDT 2003


bms         2003/10/05 02:35:09 PDT

  FreeBSD src repository

  Modified files:
    sys/kern             kern_synch.c 
    sys/sys              proc.h 
  Log:
  Add a pre-emption counter, td_generation, so that threads can notice
  when they have been pre-empted by other threads. This is bumped from
  within mi_switch() every time a context switch takes place.
  
  Discussed with: pete
  
  Revision  Changes    Path
  1.235     +2 -0      src/sys/kern/kern_synch.c
  1.349     +1 -0      src/sys/sys/proc.h


More information about the cvs-all mailing list