Date: Sun, 5 Oct 2003 02:35:09 -0700 (PDT) From: Bruce M Simpson <bms@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern kern_synch.c src/sys/sys proc.h Message-ID: <200310050935.h959Z97C091743@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200310050935.h959Z97C091743>