cvs commit: src/sys/sys pcpu.h

Robert Watson rwatson at FreeBSD.org
Tue Apr 26 06:15:50 PDT 2005


rwatson     2005-04-26 13:15:49 UTC

  FreeBSD src repository

  Modified files:
    sys/sys              pcpu.h 
  Log:
  Add 'curcpu', a shortcut to the current CPU ID, similar to curthread,
  curproc, et al.  Useful for indexing into per-CPU data structures.
  
  MFC after:      2 weeks
  
  Revision  Changes    Path
  1.15      +1 -0      src/sys/sys/pcpu.h


More information about the cvs-all mailing list