JetForMe wrote:Any chance there's the potential for deadlock when all threads have the same priority, and all are sending synchronous messages as described?
I recall that ChibiOS 3.x removes the preemptive round-robin feature that 2.x had. Now round-robin scheduling is completely cooperative. (I think this is a unfortunate BTW that this is not an option any longer.) So it seems that if all your threads are at the same priority, and one of them doesn't yield by sleeping, waiting, etc. then yes it could cause a "hang". But be careful how you use the word deadlock. Your lockup may or may not be a deadlock, which is an issue with the order of resource acquisition.