(PYVMS LOGO) Python on OpenVMS

(go to: table of contents, index, list of vms_sys, prev: GRANTID, next: IDTOASC)


HIBER - Hibernate


Allows a process to make itself inactive.

There are two ways for the hibernated process to wake up from inside the Python interpreter:

1
The process must be waked up via vms_sys.wake() or SYS$WAKE() from a different process.
2
The process uses the vms_sys.schdwk() routine.

Format:

    vms_sys.hiber ()
Returns:

None

Arguments:

vms_sys.hiber() does not take any arguments.

Examples:

>>> import vms_sys

>>> vms_sys.hiber ()

* the current process hibernates

>>> vms_sys.hiber (None)
Traceback (innermost last):
  File "<stdin>", line 1, in ?
TypeError: function requires exactly 0 arguments; 1 given

>>> vms_sys.hiber (1)
Traceback (innermost last):
  File "<stdin>", line 1, in ?
TypeError: function requires exactly 0 arguments; 1 given
>>>

(go to: table of contents, index, list of vms_sys, prev: GRANTID, next: IDTOASC)

28-SEP-1998 ZE.