Message Doesn't Support 64-bit Thread IDs #1913

This commit is contained in:
Alex Fabijanic 2017-09-28 18:12:31 -05:00
parent 70f9af935a
commit 09b229df2c
2 changed files with 4 additions and 4 deletions

View File

@ -193,7 +193,7 @@ private:
std::string _text;
Priority _prio;
Timestamp _time;
int _tid;
long _tid;
std::string _thread;
long _pid;
const char* _file;

View File

@ -42,7 +42,7 @@ namespace Poco {
class Foundation_API ThreadImpl
{
public:
public:
typedef pthread_t TIDImpl;
typedef void (*Callable)(void*);
@ -54,7 +54,7 @@ public:
PRIO_HIGH_IMPL,
PRIO_HIGHEST_IMPL
};
enum Policy
{
POLICY_DEFAULT_IMPL = SCHED_OTHER
@ -107,7 +107,7 @@ private:
{
pthread_setspecific(_key, pThread);
}
private:
pthread_key_t _key;
};