cross platform 64bit lock free FIFO?
"Andras Balogh" <[email protected]> Sat, 05 Aug 2006 10:02:36 -0600
| Newsgroups | gmane.games.devel.general |
|---|---|
| Message-ID | <op.tdtiumnaik7roz@serenity> |
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 ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Gamedevlists-general mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/gamedevlists-general Archives: http://sourceforge.net/mailarchive/forum.php?forum_id=557