- Methods: All Methods Documented Methods Hide Methods
- Source: Display Source Hide Source
- Variables: Show Variables Hide Variables
Class ::xotcl::THREAD
::xotcl::THREADcreate ... \
[ -exithandler (default "ns_log notice "EXITHANDLER of slave thread SELF [pid]"") ] \
[ -lightweight (default "0") ] \
[ -persistent (default "0") ]
Defined in
Class Relations
Methods (to be applied on the object)
recreate (scripted, private)
xotcl::THREADrecreate obj args [ args... ]
this method catches recreation of THREADs in worker threads it reinitializes the thread according to the new definition.
- Parameters:
- obj (required)
- args (required)
- Testcases:
- No testcase defined.
shutdown (scripted, private)
xotcl::THREADshutdown registry obj tid
Compatibility entry point for already registered shutdown callbacks.
- Parameters:
- registry (required)
- shared thread registry
- obj (required)
- thread controller name
- tid (required)
- registered worker identifier
- Testcases:
- No testcase defined.
Methods (to be applied on instances)
destroy (scripted, public)
<instance of xotcl::THREAD> destroy
Destroy the thread controller and release its worker if it is nonpersistent. Persistent workers are managed by the shutdown callback.
- Testcases:
- thread_destroy_after_cache_cleanup
- Methods: All Methods Documented Methods Hide Methods
- Source: Display Source Hide Source
- Variables: Show Variables Hide Variables
![[i]](/resources/acs-subsite/ZoomIn16.gif)