endurox.tpinit

endurox.tpinit(flags: int = 0) None

Joins thread to application

For more deatils see C call tpinit(3).

Raises:

AtmiException

Following error codes may be present:
TPEINVAL - Unconfigured application,
TPESYSTEM - Enduro/X System error occurred,
TPEOS - Operating system error occurred.

Parameters:

rval (int) – Or’d flags, default is 0: TPU_IGN - ignore incoming unsolicited messages.