DragonFly kernel List (threaded) for 2008-07
DragonFly BSD
DragonFly kernel List (threaded) for 2008-07
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: spinlock vs. spinlock_deprecated, what's the difference


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxx>
Date: Sun, 20 Jul 2008 11:10:06 -0700 (PDT)

:What difference is there supposed to be between 'struct spinlock' and 
:'struct spinlock_deprecated'?

    spinlock_deprecated is the 'old' spinlock code that bits of the
    really low level kernel console support still uses, and a few other
    things.  No new code should use those APIs.

    The spinlock structure and related code is our official spinlock
    implementation.

					-Matt
					Matthew Dillon 
					<dillon@backplane.com>



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]