My name is Emil, I'm 14 years old, and very interested in OS development.
I am working on my own OS based on the code from JamesM's kernel tutorial code on googlecode (code.google.com/p/jamesm-tutorials/),
but I have encountered a problem.
The kernel supports multithreading, but when a thread exits, the timer IRQ doesn't fire, or atleast doesn't get processed.
My code is on github: https://github.com/kiljacken/EmilOS
Any help would be appreciated

Edit: The main kernel file, is src/main.c, the threading stuff is in src/threading.c and src/scheduler.c, and the timer IRQ stuff is handled in src/timer.c