Plugin Helper: Thread
The thread
plugin helper manages threads and these threads are integrated with plugins. No need manual run or shutdown in the plugin.
Here is an example:
The launched thread is managed by the plugin helper. No need of thread shutdown code in plugin's shutdown
method. It shutdowns the launched threads automatically.
Methods
thread_create(title)
thread_create(title)
This method creates a thread and runs it with the given routine.
title
must be unique.
thread_current_running?
thread_current_running?
Checks whether the current thread is running or not. This method is available in the running block.
Plugins using thread
thread
Last updated
Was this helpful?