Common Task Design Patterns in Multi-tasking Applications

pebemspn wrote on Saturday, March 07, 2015:

Dears,

I found presentation on “Common Task Design Patterns in Multi-tasking Applications”

http://www.renesasinteractive.com/file.php/1/CoursePDFs/DevCon_2012/Operating_Systems/9C11L_Richard_Berry_FreeRTOS_Common_Task_Design_Patterns_in_Multi-tasking_Applications.pdf

Do you know if those mentioned “design patterns” can be found somewhere as examples?

Actually I am looking for an approach (design pattern) on “Slow,Fast and Continuous Processing” as mentioned in.

Those design patterns applies for both the cooperative and preemptive multitasking?
If you can help me I would very appreciate it.

Thank you a lot.

Best regards,
pebemspn

edwards3 wrote on Saturday, March 07, 2015:

I think those design patterns are relatively straight forward and most of the demo tasks in the download use them.

If you want continuous processing then you have to do it in the lowest priority task, otherwise nothing else will run.

If you want things to be very fast then best to do them in the interrupt itself, as long as its short too.