qdosmsq:traps:trap_1:usjb

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

qdosmsq:traps:trap_1:usjb [2008/07/25 11:07] (current)
norman created
Line 1: Line 1:
 +====== MT_RELJB/SMS_USJB ======
 +Release an existing job from suspension. (ok, how do I release a non-existing job then? LOL)
 +
 +^Call Parameters^^Return Parameters^^
 +|D0.B|$09|D0.L|Error code.|
 +|D1.L|Id of the job to be Released.|D1.L|Preserved.|
 +|A0.L|Unused. |A0.L|Base address of released job.|
 +
 +===== Errors =====
 +|ERR_NJ|Invalid job id.|
 +
 +===== Notes =====
 +  * All registers not shown above are not used on entry and are preserved on exit.
 +  * The flag byte (at the address held in JB_HOLD in the job header) will be cleared when the job is released.
 +  * This trap always exits via the job scheduler, so it is not atomic.
 +
 +===== Example =====
 +The following shows the use of this call :
 +
 +<code>
 +        moveq   #mt_reljb,d0    ; Trap code
 +        moveq   #<job_id>,d1    ; <job_id> is a known job id
 +        trap    #1              ; Suspend the job
 +</code>
  
  • qdosmsq/traps/trap_1/usjb.txt
  • Last modified: 2008/07/25 11:07
  • by norman