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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
04/21/02 22:17
Read: times


 
#21999 - Task switching for Keil C51
I'm still studying OS concepts and trying to understand the basics of concept switching with Keil C51.

Below is 2 -probably- simple questions, and will be pleased if you can share your valuable comments again.

1. If I use no reentrant functions, should I save the reentrant stack on context switching?

2. If several tasks are using reentrant functions (modifying the reentrant stack), I think I need different reentrant stack area (stack ptr) for each task. Otherwise, I cannot be sure that passive tasks' stack are not modified.

If this is true, how can I have different reentrant stack pointers ([IXP]_IBP) for each task? Is simply assigning a value on task entrance adequate?


List of 25 messages in thread
TopicAuthorDate
pros and cons of using an OS            01/01/70 00:00      
RE: pros and cons of using an OS            01/01/70 00:00      
RE: pros and cons of using an OS            01/01/70 00:00      
RE: pros and cons of using an OS            01/01/70 00:00      
RE: pros and cons of using an OS            01/01/70 00:00      
RE: pros and cons of using an OS            01/01/70 00:00      
RE: pros and cons of using an OS            01/01/70 00:00      
RE: pros and cons of using an OS            01/01/70 00:00      
RE: pros and cons of using an OS            01/01/70 00:00      
RE: pros and cons of using an OS            01/01/70 00:00      
RE: pros and cons of using an OS            01/01/70 00:00      
RE: pros and cons of using an OS            01/01/70 00:00      
RE: pros and cons of using an OS            01/01/70 00:00      
RE: pros and cons of using an OS            01/01/70 00:00      
RE: pros and cons of using an OS            01/01/70 00:00      
RE: pros and cons of using an OS            01/01/70 00:00      
RE: pros and cons of using an OS            01/01/70 00:00      
Task switching for Keil C51            01/01/70 00:00      
RE: Task switching for Keil C51            01/01/70 00:00      
RE: Task switching for Keil C51            01/01/70 00:00      
RE: Task switching for Keil C51            01/01/70 00:00      
RE: Task switching for Keil C51            01/01/70 00:00      
RE: Task switching for Keil C51            01/01/70 00:00      
RE: Task switching for Keil C51            01/01/70 00:00      
RE: Task switching for Keil C51            01/01/70 00:00      

Back to Subject List