Skip to content

Commit 1d81007

Browse files
committed
- Added custom thread naming as an option
1 parent 95264b9 commit 1d81007

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/ESPressio_EventThread.hpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ namespace ESPressio {
2626
EventManager::GetInstance()->UnregisterReceiver(eventType, this);
2727
}
2828
public:
29+
virtual String GetThreadNamePrefix() const { return "eventthread"; }
30+
2931
EventThread(bool freeOnTerminate) : EventThreadBase(freeOnTerminate) { }
3032

3133
virtual ~EventThread() {

0 commit comments

Comments
 (0)