TinyOS icon indicating copy to clipboard operation
TinyOS copied to clipboard

Any chance at multicore?

Open praeclarum opened this issue 7 years ago • 1 comments

CPU is never instanciated, but is "always" there...like a real CPU. :)

https://github.com/shanselman/TinyOS/blob/master/OS%20Project/CPU.cs#L42

I saw that line and had to chuckle.

This would involve:

  • [ ] Create one thread for each virtual CPU
  • [ ] Remove all the static members of the CPU class
  • [ ] Creating some sort of affinity mechanism for the scheduler to associate processes with CPUs
  • [ ] The scheduler would need locks over its resources
  • [ ] Syscalls would have to be moved to a new shared entity
  • [ ] Probably a million other things this was just a joke

praeclarum avatar Jun 30 '17 20:06 praeclarum

Still...it's a good idea...

shanselman avatar Jun 30 '17 21:06 shanselman