Re: cross platform 64bit lock free FIFO?
"Andras Balogh" <[email protected]> Tue, 08 Aug 2006 23:01:09 -0600
| Newsgroups | gmane.games.devel.general |
|---|---|
| Message-ID | <op.tdz2v7cvik7roz@serenity> |
> Typically, a lock-free FIFO supports only a single writer and a single > reader. If that's all you need, then you don't even need the special > instructions, because the writer will always write the same variable, > and the reader will always read the other same variable. If your cache > is not 100% read-after-write coherent, then you may have a temporary > situation where there's something written that the reader doesn't yet > see (or vice versa), but on Intel, that can never happen. Yes, I only need one writer and one reader thread, but I'm not sure that I understand the solution you propose. Could you elaborate a bit? Thanks, Andras ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Gamedevlists-general mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/gamedevlists-general Archives: http://sourceforge.net/mailarchive/forum.php?forum_id=557