CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: vincegata

Search: Search took 0.02 seconds.

  1. Re: Questions about a sample code on shared memory.

    Thank you for all the help I received, I've decided to merge the processes to use observer pattern instead of using shared memory.
  2. Re: Questions about a sample code on shared memory.

    @Codeplug - ah, you helped me with multithreading too and now it came to the full circle... :)

    I do use that code: it is now my consumer process where "producer" thread receives the data over FIFO...
  3. Re: Questions about a sample code on shared memory.

    @OReubens - I am considering of merging my producer and consumer into the same process instead of using shared memory hence was my question about locked-free linked list. I cannot use...
  4. Re: Questions about a sample code on shared memory.

    Yeah, I should do some testing too.
  5. Re: Questions about a sample code on shared memory.

    @Codeplug - I am not sure if you read my post above the one that you quoted, but I do already have a running application using FIFO and it is too slow for me.
  6. Re: Questions about a sample code on shared memory.

    @OReubens - so I have a producer and a consumer, the point is to send the data as fast as possible. Since synchronization takes time, a person who developed the code that I posted, used polling...
  7. Re: Questions about a sample code on shared memory.

    @razzle - I am staying away from the third parties.

    @codeplug - these are some financial data and there are a lot of them. I am using FIFO right now (with your help too btw :) ) but I found it to...
  8. Re: Questions about a sample code on shared memory.

    @OReubens, that code sample is about using shared memory without locking so to reduce latency. I am looking at the codeplug's sample now.

    @razzle, thanks for the code snippet, I'll re-use it...
  9. Re: Questions about a sample code on shared memory.

    Thank you for the code, I might have some questions later so I am not going to close it for now.
  10. [RESOLVED] Questions about a sample code on shared memory.

    Hi,

    I attached a sample code of shared memory that I downloaded from somewhere. However there are few things about it:

    1. Producer must be started first, o.w. consumer gives an error:...
Results 1 to 10 of 10





Click Here to Expand Forum to Full Width

Featured