Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
FORMUS3IC_LAS3
/
embb
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
3e063164
authored
Jan 29, 2015
by
Marcus Winter
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
base_c: checked result of pthread_attr_destroy
parent
91d2d4f6
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
+1
-1
base_c/src/thread.c
+1
-1
No files found.
base_c/src/thread.c
View file @
3e063164
...
@@ -243,7 +243,7 @@ int embb_thread_create(embb_thread_t* thread, const embb_core_set_t* core_set,
...
@@ -243,7 +243,7 @@ int embb_thread_create(embb_thread_t* thread, const embb_core_set_t* core_set,
(
void
*
)(
thread
->
embb_internal_arg
));
/* arguments to thread start func. */
(
void
*
)(
thread
->
embb_internal_arg
));
/* arguments to thread start func. */
if
(
status
!=
0
)
return
EMBB_ERROR
;
if
(
status
!=
0
)
return
EMBB_ERROR
;
pthread_attr_destroy
(
&
attr
);
status
=
pthread_attr_destroy
(
&
attr
);
if
(
status
!=
0
)
return
EMBB_ERROR
;
if
(
status
!=
0
)
return
EMBB_ERROR
;
return
EMBB_SUCCESS
;
return
EMBB_SUCCESS
;
}
}
...
...
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