lemonisdead Well-Known Member Licensed User Longtime User Jun 16, 2016 #1 Hello, I am stupid, I can not figure it : I have not produced any code, some dirty trials only (trying to identify the timing) I get the orientation data from the orientation sensor I have to analyse them so I use separated threads using the threading library I can eventually not do the data analysis by putting a time stamp in a variable for the analysis interval I have some tasks to do repeatedly in the background so I can make them using other threads But : is not the main thread handled (slowed) by the sensors event sub ? Thanks Last edited: Jun 16, 2016
Hello, I am stupid, I can not figure it : I have not produced any code, some dirty trials only (trying to identify the timing) I get the orientation data from the orientation sensor I have to analyse them so I use separated threads using the threading library I can eventually not do the data analysis by putting a time stamp in a variable for the analysis interval I have some tasks to do repeatedly in the background so I can make them using other threads But : is not the main thread handled (slowed) by the sensors event sub ? Thanks
Erel B4X founder Staff member Licensed User Longtime User Jun 16, 2016 #2 The SensorChanged event is raised on the main thread. However if you are not doing anything too heavy in this event then it will not slow it down. Upvote 0
The SensorChanged event is raised on the main thread. However if you are not doing anything too heavy in this event then it will not slow it down.