Re: protected type interrupts



REH wrote:

It's not my assumption. It IS being executing by the handler, and the compiler vender says the LRM allows them to do so. References to LRM given here show they are correct. My assumption (that was proven incorrect) was that it should been executed by the task that called it. The standard states that this cannot be relied upon (which explains why you cannot call "current_task" from an entry).

No. It may be executed by the same thread of control that executed the interrupt handler, but that is not the same thing as executing it from the protected procedure that is the interrupt handler. The ARM does not allow the latter.

--
Jeff Carter
"This school was here before you came,
and it'll be here before you go."
Horse Feathers
48
.



Relevant Pages

  • Re: Exception/error returns - values or raised conditions?
    ... They can be ignored by the process executing when they trigger so I ... handler to be changed by the dynamic execution of the program. ... The key being that each instruction would trap to the handler ... I've not seen types 2 and 3 provided by any language (by the operating ...
    (comp.lang.misc)
  • Re: fork() race in SIGCHLD handler
    ... from the fork function. ... The parent process after forking is beginning after the ... >> process is required to wait around for the process in which it is executing ... in fact the handler executes ...
    (comp.os.linux.development.system)
  • Re: fork() race in SIGCHLD handler
    ... from the fork function. ... The parent process after forking is beginning after the ... >> process is required to wait around for the process in which it is executing ... in fact the handler executes ...
    (comp.unix.programmer)
  • Re: Dealing with AdvancedSearch and AdvancedSearchComplete
    ... How can I tell if the events are executing quickly enough not to miss the ... > you have one class handler for each process you start. ... >> Private Sub ProcessTopics(ByVal folderToCheck As Outlook.MAPIFolder, ...
    (microsoft.public.office.developer.outlook.vba)
  • Re: Stopping a while loop with user input ?
    ... >correctness, and begin executing the script UNTIL... ... so you can just install a handler that sets a flag indicating ...
    (comp.lang.c)