How to implement two periodical processes in C++ under Linux? -
i doing real time programming in c++, under linux.
i have 2 process, let me , b. process being started periodically, every 5ms. b process being started every 10ms. process doing change of data. process b reading data , displays it.
i confused how run periodically processes, , should have 2 .cpp programs each process?
i think that, if possible, create single process 2 threads might solution also, since might easier them share resources , synchronize data.
but, if need more this, think need clearer when stating problem.
Comments
Post a Comment