Logoff script not critical

Here you can post threads specific to the current release of the core (099)

Moderator: POL Developer

Post Reply
xeon
Forum Regular
Posts: 338
Joined: Fri Oct 31, 2008 3:18 am
Location: Italy

Logoff script not critical

Post 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?
Turley
POL Developer
Posts: 670
Joined: Sun Feb 05, 2006 4:45 am

Re: Logoff script not critical

Post 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.
Post Reply