0

I need a way to save the process PIN (cpu,pin) of a new process when it's created. Something like this:

?TACL Routine
[#CASE [#EXCEPTION]
  |_BREAK|
      STOP [CURRENT_PROCESS]
      #UNFRAME
      #RETURN
  |_ERROR|
      #UNFRAME
      #RETURN
  |_CALL|
  |OTHERWISE|
      #UNFRAME
      #RETURN
]

#FILTER _BREAK _ERROR
#PUSH CURRENT_PROCESS

[SAVE_PIN CURRENT_PROCESS My_program]
#UNFRAME 

I need this for "stop" the program when a user interrumpt the TACL Routine pressing CTRL + Pause.

Regards!

Abhishek
  • 6,912
  • 14
  • 59
  • 85
Nico
  • 374
  • 2
  • 4
  • 17

1 Answers1

0

I found the solution. It was very simple.

Change

STOP [CURRENT_PROCESS]

For

STOP

Regards

Nico
  • 374
  • 2
  • 4
  • 17