Skip to content

Commit 264a217

Browse files
committed
MtQ: integrate with dom
1 parent c6c07d0 commit 264a217

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/thread/MtInQueue.hpp

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,10 @@ class MtInQueue
6262

6363
// shall be called in main thread ONLY!!!
6464
template<class aEleType> bool setHdlrOK(const EleHdlr&);
65-
bool setHdlrOK(const DftHdlr& aHdlr = [](ELE_TID&){ WRN("(MtQ) discard 1 ele since no handler"); });
65+
bool setHdlrOK(const DftHdlr& aHdlr = [](ELE_TID& aEle_tid)
66+
{
67+
WRN("(MtQ) discard 1 ele(=" << aEle_tid.second.name() << ") since no handler");
68+
});
6669
size_t handleAllEle();
6770
auto nHdlr() const { return tid_hdlr_S_.size(); }
6871
void clearHdlrPool();

0 commit comments

Comments
 (0)