Thread Priority

We are developing an application in Digi Connect EM module.In this application we are using mulltiple threads with different priorities.But in this case the application is not working properly. But it was working properly if we give same priority to all threads.So please give a workaround and if possible send an example program for this.

I solved this by putting _tx_thread_sleep()s of different lengths into my threads and manually controlling their priority that way.