reboss / RapidOnsetAdHocNetwork

waffle.io for our multihop ad hoc network
0 stars 1 forks source link

Determine how many processes are running for debugging. #20

Open Shibbywan opened 7 years ago

Shibbywan commented 7 years ago

The PicOS Quick Reference has two functions of interest that could be useful:

sint ptleft() determines how many processes can still be created.

sint crunning(fsmcode fsm) determines the number of running instances of the specified fsm. crunning(NULL) is the same as ptleft().