75d7e3313db6c40a19d48cb9d1b66366d6ff7d8d,w3af/core/controllers/core_helpers/strategy_observers/thread_state_observer.py,ThreadStateObserver,crawl,#ThreadStateObserver#Any#,57

Before Change


        
        with self._lock:
            if self.crawl_infra_thread is not None:
                return

            self.crawl_infra_thread = threading.Thread(target=self.thread_worker,
                                                       args=(consumer, "CrawlInfraWorker"),
                                                       name="CrawlInfraPoolStateObserver")

After Change



            if self.worker_thread is None:
                pool = consumer._w3af_core.worker_pool
                self.worker_thread = threading.Thread(target=self.thread_worker,
                                                      args=(pool, "Worker"),
                                                      name="WorkerPoolStateObserver")
                self.worker_thread.start()

    def audit(self, consumer, *args):
        
        Log the thread state for audit plugins
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 8

Instances


Project Name: andresriancho/w3af
Commit Name: 75d7e3313db6c40a19d48cb9d1b66366d6ff7d8d
Time: 2018-02-05
Author: andres.riancho@gmail.com
File Name: w3af/core/controllers/core_helpers/strategy_observers/thread_state_observer.py
Class Name: ThreadStateObserver
Method Name: crawl


Project Name: sony/nnabla
Commit Name: 4cf9cfaa3ab7c77bf45f3e36079af7bc348515e8
Time: 2017-10-13
Author: yukio.obuchi@jp.sony.com
File Name: python/src/nnabla/utils/data_iterator.py
Class Name: DataIterator
Method Name: next


Project Name: jantic/DeOldify
Commit Name: 20af68f395798d10da3aedcfb76ba7692f94b0e9
Time: 2019-01-23
Author: jsa169@gmail.com
File Name: fasterai/tensorboard.py
Class Name: ModelHistogramVisualizer
Method Name: __init__