24 #include <aspect/inifins/thread_producer.h>
25 #include <aspect/thread_producer.h>
26 #include <core/threading/thread_collector.h>
41 ThreadProducerAspectIniFin::ThreadProducerAspectIniFin(
ThreadCollector *collector)
44 __collector = collector;
53 if (thread_producer_thread == 0) {
55 "ThreadProducerAspect, but RTTI says it "
56 "has not. ", thread->
name());
Fawkes library namespace.
Thread class encapsulation of pthreads.
Thread cannot be initialized.
void init_ThreadProducerAspect(ThreadCollector *collector)
Init thread producer aspect.
Aspect for thread producing threads.
const char * name() const
Get name of thread.
virtual void init(Thread *thread)
Initialize thread.
virtual void finalize(Thread *thread)
Finalize thread.
Aspect initializer/finalizer base class.