MCPcopy Create free account
hub / github.com/SmingHub/Sming / getMaxTaskCount

Method getMaxTaskCount

Sming/Platform/System.h:232–239  ·  view source on GitHub ↗

@brief Get maximum number of tasks seen on queue at any one time * @retval unsigned * @note If return value is higher than maximum task queue TASK_QUEUE_LENGTH then * the queue has overflowed at some point and tasks have been left un-executed. */

Source from the content-addressed store, hash-verified

230 * the queue has overflowed at some point and tasks have been left un-executed.
231 */
232 static unsigned getMaxTaskCount()
233 {
234#ifdef ENABLE_TASK_COUNT
235 return maxTaskCount;
236#else
237 return 255;
238#endif
239 }
240
241private:
242 static void taskHandler(os_event_t* event);

Callers 3

showInterruptToggleCountFunction · 0.80
interruptDelegateFunction · 0.80
hwTimerDelegateFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected