Search:
Type: Posts; User: vincegata
Search:
Search took 0.02 seconds.
-
October 24th, 2013, 09:36 PM
Thank you for all the help I received, I've decided to merge the processes to use observer pattern instead of using shared memory.
-
October 18th, 2013, 09:16 PM
@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...
-
October 18th, 2013, 01:37 PM
@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...
-
October 17th, 2013, 07:52 PM
Yeah, I should do some testing too.
-
October 17th, 2013, 11:56 AM
@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.
-
October 16th, 2013, 05:26 PM
@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...
-
October 15th, 2013, 12:01 PM
@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...
-
October 15th, 2013, 09:06 AM
@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...
-
October 14th, 2013, 07:43 PM
Thank you for the code, I might have some questions later so I am not going to close it for now.
-
October 14th, 2013, 10:48 AM
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:...
|
Click Here to Expand Forum to Full Width
|