| | code
|
| Hi,I'm trying to run 2 infinate loops at the same time. Is this possible? this is an example of what I'm trying to do. thanks #include <unistd.h> #include <dmotor.h> #include <dsensor.h> #include <conio.h> #include <time.h> pid_t fun_a; pid_t fun_c; (...) (24 years ago, 19-Apr-01, to lugnet.robotics.rcx.legos)
| | | | Re: code
|
| (...) [snip] (...) Can't see anything glaringly obvious, except you've used different priorities for your tasks. As they're infinite loops with no waiting, it's probably better to make their priorities equal. But the best way is probably to do all (...) (24 years ago, 19-Apr-01, to lugnet.robotics.rcx.legos)
| |