lundi 26 janvier 2015

[Q] Udp Server always running topic






Hi, this is my first post on this forum.
I'm developing an udp server on Android, it is a sort of messages dispatcher from clients to masters (namely servers) and vice-versa. It consists on three separated threads launched by a foreground service and every thread has MAX_PRIORITY flag set.
The problem is that the OS suspends threads and on certain devices i receive this message:

Code:


JIT unchain all for threadid=XX

Is there a way to prevent thread suspension by the OS?

NOTE: This app is for developing puropose, it will not be released in store. We need to have an UDP server always running without suspensions.

Thanks in advance.






Aucun commentaire:

Enregistrer un commentaire