Re: On thread scheduling

2007-09-16 Thread Kyle Moffett
On Sep 14, 2007, at 18:40:00, Heikki Orsila wrote: Consider a simple embedded system: void interrupt_handler(void) int main(void) I would like to "emulate" this system with a workstation to make development faster. I would create two threads, one executing the main() function, and the other

Re: On thread scheduling

2007-09-15 Thread Ray Lee
On 9/14/07, Heikki Orsila <[EMAIL PROTECTED]> wrote: > Consider a simple embedded system: > > void interrupt_handler(void) > int main(void) > > I would like to "emulate" this system with a workstation to make > development faster. I would create two threads, one executing the > main() function, and

Re: On thread scheduling

2007-09-14 Thread Matthias Kaehlcke
El Sat, Sep 15, 2007 at 01:40:00AM +0300 Heikki Orsila ha dit: > Consider a simple embedded system: > > void interrupt_handler(void) > { > ... > } > > int main(void) > { > ... > } > > I would like to "emulate" this system with a workstation to make > development faster. I would cre

On thread scheduling

2007-09-14 Thread Heikki Orsila
Consider a simple embedded system: void interrupt_handler(void) { ... } int main(void) { ... } I would like to "emulate" this system with a workstation to make development faster. I would create two threads, one executing the main() function, and the other occasionally calling