yes I supposed it…sigh…i asked for help because I have N processes that read data from different hardware port, and log them into different files…till no no problems, but I discovered that I must receive another ype of signal from gps and log it into each opened files…it is (in my opinion and with my knowledge until now) quite hard because this gsp signal is used to synconize all data read from the various ports.
I thought that I can work in two ways:
made a process that read the port and when receive the signal log this on each files…the problem is that each files is opened inside another process…
made a function and insert it inside each process…this way in my opinion is more heavy in execution and the logged data (that must have the same time) have different time…
Note: each process is a single program
for now I choose to work in this way:
I made a process for gps that log the received signal on a dedicated logfile, and offline I can process that read data. (I know, it’s not a beautyful way to do this dirty work, but I need it to work)