cvs commit: src/sys/kern lwkt_token.c

Matthew Dillon dillon at crater.dragonflybsd.org
Tue Jun 21 11:03:25 PDT 2005


dillon      2005/06/21 11:02:41 PDT

DragonFly src repository

  Modified files:        (Branch: DragonFly_RELEASE_1_2)
    sys/kern             lwkt_token.c 
  Log:
  MFC 1.16.  When releasing a token reference do not give away the token if
  it is still being held by another reference.  Note that the other part of
  1.16, about not checking whether the token is owned by preempted threads,
   is not really a bug since by definition the preempted threads cannot be
  holding a token that the current thread has held and is releasing.
  
  Revision  Changes    Path
  1.11.2.1  +13 -2     src/sys/kern/lwkt_token.c


http://www.dragonflybsd.org/cvsweb/src/sys/kern/lwkt_token.c.diff?r1=1.11&r2=1.11.2.1&f=u





More information about the Commits mailing list