Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
06/24/03 05:43
Read: times


 
#49146 - RE: Returning from interrupt,MJK
Responding to: ???'s previous message
Michael Karas wrote:
-------------------------------
But....with a scheduler wouldnt you normally have to restore a whole stack context for the task you are trying to let resume? That could not be done by setting the SP to point to various places within the higher interal RAM space, or by block copying context data into the stack area from XDATA (the VERY inefficient method).

-------------------------------
that is correct.i am using the second option and it leads to context switch times in 250 microsec range.
the stack is a real problem.the overhead is even more if task is using up more stack space.timer ticks tend to be not very accurate,BUT it was real fun implementing it.

Pranav




List of 19 messages in thread
TopicAuthorDate
Returning from interrupt            01/01/70 00:00      
   RE: Returning from interrupt            01/01/70 00:00      
   RE: Returning from interrupt            01/01/70 00:00      
   RE: Returning from interrupt            01/01/70 00:00      
      RE: Returning from interrupt            01/01/70 00:00      
         RE: Returning from interrupt            01/01/70 00:00      
         RE: Returning from interrupt            01/01/70 00:00      
            RE: Returning from interrupt            01/01/70 00:00      
               RE: Returning from interrupt            01/01/70 00:00      
            RE: Returning from interrupt,MJK            01/01/70 00:00      
               RE: Returning from interrupt,MJK            01/01/70 00:00      
                  RE: Returning from interrupt,MJK            01/01/70 00:00      
                  RE: Returning from interrupt,MJK            01/01/70 00:00      
         RE: Returning from interrupt            01/01/70 00:00      
         RE: Returning from interrupt            01/01/70 00:00      
      RE: Returning from interrupt            01/01/70 00:00      
         RE: Returning from interrupt            01/01/70 00:00      
            RE: Returning from interrupt            01/01/70 00:00      
               RE: Returning from interrupt            01/01/70 00:00      

Back to Subject List