Quote:
My experience is that problems with task switching can be some of the hardest bugs to track down.
Yeah I've been having some issues with debugging non-linear flows (posted about it in an earlier thread) but I've *almost* got it. This stack issue will allow me to have a roughly working multithread system
Quote:
is to use the facility to give an interrupt a particular stack, in particular for a page fault exception
Thats a really good idea, I haven't implemented exceptions yet, but being able to handle PF exceptions now will make my debugging life easier now and later on. I'm pretty pleased with my memory manager, it's pretty robust; I can now use that in many areas and be SURE that the issue isn't coming from the memory handler.