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

Popular posts from this blog

windows - Why does Vista not allow creation of shortcuts to "Programs" on a NonAdmin account? Not supposed to install apps from NonAdmin account? -

c++ - How do I get a multi line tooltip in MFC -

unit testing - How to mock PreferenceManager in Android? -