Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
LARN
PRRT
Commits
10bfc757
Commit
10bfc757
authored
Apr 08, 2016
by
Andreas Schmidt
Browse files
Remove cancel for feedback thread to get rid of resource error.
parent
6e9ed1dc
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/prrt/socket.c
View file @
10bfc757
...
...
@@ -186,7 +186,6 @@ int PrrtSocket_interrupt(PrrtSocket *sock_ptr) {
}
if
(
sock_ptr
->
receiveFeedbackThread
!=
0
)
{
check
(
pthread_cancel
(
sock_ptr
->
receiveFeedbackThread
)
==
0
,
"Cancel failed."
);
check
(
pthread_join
(
sock_ptr
->
receiveFeedbackThread
,
res
)
==
0
,
"Join failed."
);
sock_ptr
->
receiveFeedbackThread
=
0
;
...
...
Write
Preview
Supports
Markdown
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