How many POSIX shared memory blocks/handles is feasible on Linux? -


i want split shared memory in reasonable pieces, have no idea, number good? 100 shared memory handles 1 application reasonable number?

p.s: have produces/consumer problem. producer writes data in shared memory, 1 or many consumers read data time-shifted. producer , consumers should never access same data-block. consumers may try access , modify same memory-blocks. consumer access should managed semaphores.

the single data-block ca. 30kb , entire shared memory 1gb. using ca 100 pieces sure prevent locking producer/consumer , minimize number of locks required among consumers.


Comments

Popular posts from this blog

c++ - list<myClass<int> * > sort -

SoapUI on windows 10 - high DPI/4K scaling issue -

java - why am i getting a "cannot resolve method" error on getApplication? -