elogger API
Overview Classes Cluster Class Index          Top Features

root_cluster.logging.config

Class ELOG_CONFIGURATION_LISTENER_THREAD


Direct ancestors

THREAD

Creation

Features

Invariants

indexing

description

thread, that starts and runs the configuration listener

class ELOG_CONFIGURATION_LISTENER_THREAD

inherit

THREAD
THREAD_CONTROL

create

start_listener_thread (a_port: INTEGER; do_report_parse_error: BOOLEAN)

-- launch the listener thread

require

port_valid: a_port >= 0

feature -- Access

frozen thread_id: POINTER

-- Thread-id of the current thread object.
-- (From THREAD)

report_parse_error: BOOLEAN

-- are parse errors reported?

feature -- Basic operations

join

-- The calling thread waits for the current child thread to
-- terminate.
-- (From THREAD_CONTROL)

join_all

-- The calling thread waits for all other threads to terminate.
-- (From THREAD_CONTROL)

native_join (term: POINTER)

-- Same as join except that the low-level architecture-dependant
-- routine is used. The thread must not be created detached.
-- (From THREAD_CONTROL)

yield

-- The calling thread yields its execution in favor of another
-- thread.
-- (From THREAD_CONTROL)

execute

-- create listener
-- (From THREAD)

launch

-- Initialize a new thread running execute.
-- (From THREAD)

require

thread_capable: {PLATFORM}.is_thread_capable

launch_with_attributes (attr: THREAD_ATTRIBUTES)

-- Initialize a new thread running execute, using attributes.
-- (From THREAD)

require

thread_capable: {PLATFORM}.is_thread_capable

feature -- Sleep

sleep (nanoseconds: INTEGER_64)

-- Suspend thread execution for interval specified in
-- nanoseconds (1 nanosecond = 10^(-9) second).
-- (From THREAD_CONTROL)

require

non_negative_nanoseconds: nanoseconds >= 0

invariant

-- From THREAD
is_thread_capable: {PLATFORM}.is_thread_capable

-- From ANY
reflexive_equality: standard_is_equal (Current)
reflexive_conformance: conforms_to (Current)

Documentation generated by edoc