[GD-General] cross platform 64bit lock free FIFO?
Brought to you by:
vexxed72
From: Andras B. <and...@gm...> - 2006-08-05 16:02:47
|
I've found info on know how to implement a lock free FIFO on 32bit systems, but I've also read that making it work for 64bit systems with the current instruction sets is very difficult and extremely error prone. So I would prefer to use a proven solution, instead of trying to roll my own. On Windows, it's easy, because the Win32 API provides an interlocked SList, that is supposed to work on 64 bit platforms too. But what about other operating systems? Also, AFAIK these new 64bit systems don't really have a 64bit address space, but 40-44? Does this mean, that all these 64bit implementations are doing is only using the top 20 bits for ABA resolution?? I'm confused :) Andras |