Jump to content
Sign in to follow this  
GastonP

Energia/MT, MSP432 and thread priority

Recommended Posts

Hi guys,

   do you know if there is a way to set different priorities to different threads of a sketch?

 

For example, if we had a slow thread which senses a thermomenter and another one which sends data serially bit-banging a pin, and another one which senses an emergency stop (whatever, just imagine they are all pretty fast processes) I would like to set a list of priorities for the underlying TI/RTOS to handle possible needs. Is there a way to implement this?

 

Also... if we set interrupts to handle certain events... how does Energia signal the RTOS the priority for this (like in don't interrupt an interrupt :) )?

 

Thanks for your insights

   Gast

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×