Method: Fluent::PluginHelper::Thread#thread_current_running?

Defined in:
lib/fluent/plugin_helper/thread.rb

#thread_current_running?Boolean

Returns:

  • (Boolean)


32
33
34
35
# File 'lib/fluent/plugin_helper/thread.rb', line 32

def thread_current_running?
  # checker for code in callback of thread_create
  ::Thread.current[:_fluentd_plugin_helper_thread_running] || false
end