[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ProgSoc] cron vs programmed execution
On Sun, 21 Apr 2002, Vik wrote:
> I like to consider myself a good programmer ;), but I _am_ using c++, and
> don't have all that much experience with it; but the program is reasonably
> simple; most objects are persistent during the life of the program. By
> heap allocation do u mean declaring objects as
> ClassName foo(parm1, etc);
> as opposed to stack allocation like so:
> ClassName *foo;
> foo = new ClassName(parm1, etc);
The other way around actually. The reasoning behind all this is of course
the usual reason why people have memory leaks: they forget to deallocate
objects that they've created. With stack created objects, they're released
back to the memory once it's out of scope -- automatically. With heap
objects, they're never released until its deleted.
> (perhaps an RS485). Don't even need much above a 486 so an ISA bus is
> fine. Do u know of any where the watchdogs _do_ have linux drivers?
Yep. Most of them have two serial ports, one of which is switchable to
RS485. As for watchdogs, take a look at the kernel drivers to see if its
You are subscribed to the progsoc mailing list. To unsubscribe, send a
message containing "unsubscribe" to email@example.com.
If you are having trouble, ask firstname.lastname@example.org for help.