Re: lock-free swsr fifo vector queue in stl



Just wanted to say thank you for all your comments on this thread. As
suggested have been searching around for some implementations of this
and found one that looks pretty simple to implement.

If anyone would care to comment, the link is:
http://msmvps.com/blogs/vandooren/archive/2007/01/05/creating-a-thread-safe-producer-consumer-queue-in-c-without-using-locks.aspx

Taking the precautions into consideration, this looks like what I
wanted to do, and may work well for me.

Many thanks,
Marcus


.



Relevant Pages

  • Re: Revisit: List list = new ArrayList();
    ... Collection does not make it clear whether duplicates are allowed or not, ... The JDK does not provide any direct implementations of this interface: ... Collection OTOH is to be used as argument to functions which do not care ...
    (comp.lang.java.programmer)
  • Re: Tough (for me) regex case
    ... I had *no idea* that there were different implementations of "regular ... But I simply don't care about that. ... newsgroup are generally more interested in the computing problem than ... in some kind of whizzing match between two competing ideologies. ...
    (comp.lang.perl.misc)
  • Re: Ranges and (non)static constraints
    ... care if an integer would fit a machine word? ... some implementations fail at compile time, ...
    (comp.lang.ada)
  • Re: Woodworking Magazine Index
    ... The next step is to remember it when I'm searching for an ... > gone further out of my way to make the access more bullet proof. ... > proof that I really don't care to make money off of spamming anyone. ... I'll take a brief look through the sign-up database to ...
    (rec.woodworking)
  • Re: RES: Counting occurrences of a string in loadlib
    ... Try searching for a string that straddles text records. ... We don't have to care, ... For IBM-MAIN subscribe / signoff / archive access instructions, ... send email to listserv@xxxxxxxxxxx with the message: GET IBM-MAIN INFO ...
    (bit.listserv.ibm-main)