Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
L
libzmq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
libzmq
Commits
cef80655
Unverified
Commit
cef80655
authored
May 21, 2019
by
Luca Boccassi
Committed by
GitHub
May 21, 2019
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #3516 from moretromain/fedorafix
Fix Fedora 30 build
parents
2b63a896
5b07a119
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
thread.cpp
src/thread.cpp
+2
-2
No files found.
src/thread.cpp
View file @
cef80655
...
...
@@ -58,7 +58,7 @@ void zmq::thread_t::start (thread_fn *tfn_, void *arg_, const char *name_)
_tfn
=
tfn_
;
_arg
=
arg_
;
if
(
name_
)
strncpy
(
_name
,
name_
,
sizeof
(
_name
));
strncpy
(
_name
,
name_
,
sizeof
(
_name
)
-
1
);
#if defined _WIN32_WCE
_descriptor
=
(
HANDLE
)
CreateThread
(
NULL
,
0
,
&::
thread_routine
,
this
,
0
,
NULL
);
...
...
@@ -232,7 +232,7 @@ void zmq::thread_t::start (thread_fn *tfn_, void *arg_, const char *name_)
_tfn
=
tfn_
;
_arg
=
arg_
;
if
(
name_
)
strncpy
(
_name
,
name_
,
sizeof
(
_name
));
strncpy
(
_name
,
name_
,
sizeof
(
_name
)
-
1
);
int
rc
=
pthread_create
(
&
_descriptor
,
NULL
,
thread_routine
,
this
);
posix_assert
(
rc
);
_started
=
true
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment