pp-tt-create

Synopsis

(pp-tt-create port-number)

Parameters

  • port-number

Description

This procedure starts a testing thread for the specified port. This testing thread frunction just reports once per minute a debug logging message to the message queue. Only one single testing thread may be started per port.

Side Effects

A testing thread is created (started) for the specified port.

Return Value

ok or #f

Example

> (pp-tt-running? 3)
#f
> (pp-tt-create 3)
ok
> (pp-tt-running? 3)
#t
> (pp-tt-running? 3)
#t
> (pp-tt-running? 3)
#t
2022-06-27 20:11:32 DBG ProcessorTestThread Port 3 minute 1
> (pp-tt-create 3)
ok
2022-06-27 20:12:14 WRN testing thread already running for port 3, returning TRUE
>