Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   Muti-threading (http://www.chiefdelphi.com/forums/showthread.php?t=27534)

Tom Bottiglieri 24-04-2004 17:16

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"

Astronouth7303 24-04-2004 21:00

Re: Muti-threading
 
Plus, many programs in PCs only use 1 thread.

steven114 24-04-2004 21:54

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...

Astronouth7303 26-04-2004 07:25

Re: Muti-threading
 
Better than doing it on last year's!

steven114 26-04-2004 09:10

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