Page 1 of 1

Logoff script not critical

Posted: Sun Jan 26, 2014 10:56 am
by xeon
From the doc:
program logoff(character)
...
Default Priority
critical
but doing a logoff.src in a package like this:

Code: Select all

program logoff(who)
print("Is_Critical()="+Is_Critical()
endprogram
I get
Is_Critical()=0

POL is 099 compiled from SVN, not the latest but very recent.

Is that correct?

Re: Logoff script not critical

Posted: Sun Jan 26, 2014 11:28 am
by Turley
this is only a display problem. almost any script or function called directly by the core is critical, since it needs to wait for the result.