Hi, Why a ring buffer [implemented in an array as in C/C++] with one producer thread and one consumer thread will not meet your requirement?
Jack On Wed, Jun 20, 2012 at 5:27 AM, vishal rawtiya <vishu.h...@gmail.com> wrote: > Hello! > > I am a beginner at gem5, so forgive me for any ignorance. I want to > test my modified cache system. > I am using ALPHA_SE. > > And to test my environment. > I need to write producer consumer program in which an array is shared > between producer and consumer. > > But my problem is that i can not figure out the way to share variables > across the program. > The only way i know is using system calls like shmget, shmctl but those are > not supported by gem5. > > So is there any other way i can make it work. > > Thanks in advance. > > Regards, > Vishal Rawtiya > vishu.h...@gmail.com > Indian Institue Of Technology Delhi > Dept.Of Comp.Sci.& Engg. > > > > > > _______________________________________________ > gem5-users mailing list > gem5-users@gem5.org > http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users _______________________________________________ gem5-users mailing list gem5-users@gem5.org http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users