Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Apr 2005 13:15:49 +0000 (UTC)
From:      Robert Watson <rwatson@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/sys pcpu.h
Message-ID:  <200504261315.j3QDFn5b007321@repoman.freebsd.org>

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



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