git-svn-id: https://svn.berlios.de/svnroot/repos/senf/trunk@1712
270642c3-0616-0410-b53a-bc976706d245
prefix_ senf::scheduler::detail::FIFORunner::TaskInfo::TaskInfo(std::string const & name,
Priority priority)
: Event(name), runnable_ (false), priority_ (priority)
-{}
+{
+#ifdef SENF_DEBUG
+ std::stringstream ss;
+ backtrace(ss, 32);
+ backtrace_ = ss.str();
+#endif
+}
prefix_ senf::scheduler::detail::FIFORunner::TaskInfo::~TaskInfo()
{}
prefix_ void senf::scheduler::detail::FIFORunner::enqueue(TaskInfo * task)
{
tasks_.insert(priorityEnd(task->priority_), *task);
-#ifdef SENF_DEBUG
- std::stringstream ss;
- backtrace(ss, 32);
- task->backtrace_ = ss.str();
-#endif
}
prefix_ void senf::scheduler::detail::FIFORunner::taskTimeout(unsigned ms)