Advantages Of Cooperative Multitasking - Rabbit RabbitCore RCM2000 Getting Started Manual

C-programmable module
Hide thumbs Also See for RabbitCore RCM2000:
Table of Contents

Advertisement

4.5 Advantages of Cooperative Multitasking

Cooperative multitasking, as implemented with language extensions, has the advantage of
being intuitive. Unlike preemptive multitasking, variables can be shared between different
tasks without having to take elaborate precautions. Sharing variables between tasks is the
greatest cause of bugs in programs that use preemptive multitasking. It might seem that
the biggest problem would be response time because of the big loop time becoming long
as the program grows. Our solution for that is called slicing, which is further described in
the Dynamic C User's Manual.
28
RabbitCore RCM2000

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the RabbitCore RCM2000 and is the answer not in the manual?

Questions and answers

Table of Contents