mirror of
https://github.com/pocoproject/poco.git
synced 2024-12-12 18:20:26 +01:00
Message Doesn't Support 64-bit Thread IDs #1913
This commit is contained in:
parent
70f9af935a
commit
09b229df2c
@ -193,7 +193,7 @@ private:
|
||||
std::string _text;
|
||||
Priority _prio;
|
||||
Timestamp _time;
|
||||
int _tid;
|
||||
long _tid;
|
||||
std::string _thread;
|
||||
long _pid;
|
||||
const char* _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;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user