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

re: serializing token


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxx>
Date: Sat, 24 Apr 2004 23:05:40 -0700 (PDT)

:[trimmed for brevity] 
:>     You don't have any of that mess with the token abstration but
:>     there is a cost and that cost is that you lose atomicy across
:>     blocking ops. 
:
:Is this a proper analogy?  Mutexes are like additive door locks, where
:having any door locked in a series of doors makes them all impassable
:during the lock period.  Tokens are like a passcard, which opens a
:single door out of a series, but you have to have the passcard for each
:door to open them all.  Or am I getting too symbolic? 

    hahaha.

					-Matt



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