def init_worker(log_queue):
 signal.signal(signal.SIGINT, signal.SIG_IGN)
 log_sink_factory(log_queue)
 start_profiling_no_core()

def init_worker ( log_queue ) : signal . signal ( signal . SIGINT , signal . SIG_IGN ) log_sink_factory ( log_queue ) start_profiling_no_core ( )
this function is called right after each process in the processpool is created .