TSR's

Leon Pollak leonp at plris.com
Fri May 20 17:57:00 UTC 2005


>> When this happens my program crashes in the internal error function. Am I allowed to 
>> get the network semaphore from inside the TSR? 
>
>no, no, no and no. :)
>
>If you do not acquire the network semaphore, the caller will block.  A 
>TSR runs in the clock tick ISR -- not a task.  That error check is in 
>there just to prevent the weird errors you would get if you blocked in
>the middle of an ISR.
Well, just to check for sure...
This is correct only for the case when TSR's are run not by timer server, am I correct?



More information about the users mailing list