projects
/
metaproxy-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove incoming requests that can not be handled
[metaproxy-moved-to-github.git]
/
src
/
test_thread_pool_observer.cpp
diff --git
a/src/test_thread_pool_observer.cpp
b/src/test_thread_pool_observer.cpp
index
9700db1
..
89f8f04
100644
(file)
--- a/
src/test_thread_pool_observer.cpp
+++ b/
src/test_thread_pool_observer.cpp
@@
-40,6
+40,7
@@
class My_Msg : public mp::IThreadPoolMsg {
public:
mp::IThreadPoolMsg *handle();
void result(const char *t_info);
public:
mp::IThreadPoolMsg *handle();
void result(const char *t_info);
+ bool cleanup(void *info);
int m_val;
My_Timer_Thread *m_timer;
};
int m_val;
My_Timer_Thread *m_timer;
};
@@
-70,6
+71,11
@@
mp::IThreadPoolMsg *My_Msg::handle()
return res;
}
return res;
}
+bool My_Msg::cleanup(void *info)
+{
+ return false;
+}
+
void My_Msg::result(const char *t_info)
{
m_timer->m_sum += m_val;
void My_Msg::result(const char *t_info)
{
m_timer->m_sum += m_val;