Class ::xotcl::THREAD

::xotcl::THREAD[i] create ... \
           [ -exithandler (default "ns_log notice "EXITHANDLER of slave thread SELF [pid]"") ] \
           [ -lightweight (default "0") ] \
           [ -persistent (default "0") ]

Class Relations

  • class: ::xotcl::Class[i]
  • superclass: ::xotcl::Object[i]

Methods (to be applied on the object)

  • recreate (scripted, private)

     xotcl::THREAD[i] recreate obj args [ args... ]

    this method catches recreation of THREADs in worker threads it reinitializes the thread according to the new definition.

    Parameters:
    obj
    args

    Partial Call Graph (max 5 caller/called nodes):
    %3 thread::send thread::send xotcl::THREAD proc recreate xotcl::THREAD proc recreate xotcl::THREAD proc recreate->thread::send

    Testcases:
    No testcase defined.

Methods (to be applied on instances)

  • check_blueprint (scripted)

  • destroy (scripted)

  • do (scripted)

  • exithandler (setter)

  • get_tid (scripted)

  • init (scripted)

  • lightweight (setter)

  • persistent (setter)