mirror of
https://github.com/zeromq/libzmq.git
synced 2024-12-13 10:52:56 +01:00
Problem: new thread parameter not initialised in ctor
Solution: do it and remove ifndef windows
This commit is contained in:
parent
d02561eec0
commit
f7ca7515d7
@ -56,6 +56,7 @@ class thread_t
|
||||
inline thread_t () :
|
||||
_tfn (NULL),
|
||||
_arg (NULL),
|
||||
_name (""),
|
||||
_started (false),
|
||||
_thread_priority (ZMQ_THREAD_PRIORITY_DFLT),
|
||||
_thread_sched_policy (ZMQ_THREAD_SCHED_POLICY_DFLT)
|
||||
@ -100,9 +101,7 @@ class thread_t
|
||||
void applySchedulingParameters ();
|
||||
thread_fn *_tfn;
|
||||
void *_arg;
|
||||
#ifndef ZMQ_HAVE_WINDOWS
|
||||
std::string _name;
|
||||
#endif
|
||||
|
||||
private:
|
||||
bool _started;
|
||||
|
Loading…
Reference in New Issue
Block a user