Ocamlnet 3 Reference Manual : Netplex_types.par_thread

# Class type Netplex_types.par_thread

    class type par_thread = object .. end

    method ptype : parallelization_type

    method sys_id : thread_sys_id

Returns a system-dependent identifier for the thread:

- ``Thread id`: The `id` as returned by `Thread.id`
- ``Process id`: The `id` is the process ID

    method info_string : string

Outputs the process or thread ID

    method watch_shutdown : Unixqueue.unix_event_system -> unit

Called by the controller if it thinks the container is down. This method must not be called outside the internal Netplex implementation!

    method parallelizer : parallelizer

Returns the parallelizer that created this thread. Can be used to start another thread of the same type.