1. A method of scheduling tasks for a Real-Time Operating System (RTOS) in a low-power, wireless, mesh network, the method comprising: receiving, at a scheduler for the RTOS, a plurality of tasks to schedule for execution by one or more processors, wherein: the plurality of tasks comprises a first task; the first task is associated with an expected execution interval; and the expected execution interval indicates an expected length of time for the one or more processors to execute the first task; and scheduling the plurality of tasks for execution by the one or more processors, wherein the first task is scheduled using the expected execution time such that the first task is executed without being interrupted by others of the plurality of tasks.