28
RabbitCore RCM2000
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
.
Содержание RCM2000
Страница 4: ...RabbitCore RCM2000...
Страница 10: ...6 RabbitCore RCM2000...
Страница 16: ...12 RabbitCore RCM2000...
Страница 24: ...20 RabbitCore RCM2000...
Страница 34: ...30 RabbitCore RCM2000...
Страница 36: ...User s Manual 32...
Страница 38: ......