My code is supposed to simulate a system where multiple sensors collect data concurrently and proces

My code is supposed to simulate a system where multiple sensors collect data concurrently and process them. But I get this Segmentation fault (core dumped) error thrown in my console as the code crashes. Please what am I doing wrong ?
dev.png
dev1.png
Was this page helpful?