Re: DFly Tokens

看板DFBSD_kernel作者時間21年前 (2005/04/04 12:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串2/3 (看更多)
: :Is it possible to pull in some of the same work that FreeBSD has done :using mutex locking into DragonFlyBSD using Tokens ? E.G. Reading :through the status log on the web site I haven't seen anything done :yet with the device drivers. Is it possible to use tokens inside :those code paths or is there already another chosen method for this ? Yes and no. Yes, it is true that we could use tokens as a replacement for mutexes, but we don't want to do that because the issue isn't so much whether we have mutex support as it is the programming methodology we use to make code MP safe. Our methodologies are radically different from FreeBSD's, on purpose (it was one of the major reasons why I started the DragonFly project). -Matt Matthew Dillon <dillon@backplane.com>
文章代碼(AID): #12KBm200 (DFBSD_kernel)
文章代碼(AID): #12KBm200 (DFBSD_kernel)