![]() |
Re: Muti-threading
KISS
You have something that works now, don't you? Why pour hours time and effort into something that wont really give you that much of a reward. For what we are trying to accomplish, a single thread that handles all of our robots checks and balances is enough. Also, by doing this, you are just creating more possibilities for something to go wrong, whether in testing or in the heat of battle. Although it may be a good learning experience to play around with multiple threads or any other complex program idea you have, I would advise you to keep to that kid tested, engineer approved saying "Keep it simple, stupid" |
Re: Muti-threading
Plus, many programs in PCs only use 1 thread.
|
Re: Muti-threading
Writing preemptive multitasking on the PIC seems to me to be a difficult exercise - you would essentially have to create an OS for it, as the 'os' would always have to be in control of the program counter and be able to save and restore the stack at any time. Plus we don't have much space to work with...
|
Re: Muti-threading
Better than doing it on last year's!
|
Re: Muti-threading
True... :D
|
| All times are GMT -5. The time now is 03:12. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi