Scheduling on the Raspberrypi
Posté : jeu. 20 avr. 2017 13:24
Hello,
I have two python scripts.
The first script is used to process images.
The second script has a function interrupt. If the user pushes the button the interrupt picks up the signal and takes pictures.
I want to do a scheduling between the two scripts.
The raspberry executes the first script but if the interrupt of the other script picks up a signal, the raspberry must stop the execution of the first script until the second script finishes taking pictures.
Can you help me to do that please? Have you any idea ??
Thank you in advance
I have two python scripts.
The first script is used to process images.
The second script has a function interrupt. If the user pushes the button the interrupt picks up the signal and takes pictures.
I want to do a scheduling between the two scripts.
The raspberry executes the first script but if the interrupt of the other script picks up a signal, the raspberry must stop the execution of the first script until the second script finishes taking pictures.
Can you help me to do that please? Have you any idea ??
Thank you in advance