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
d6cf14ea
authored
8 years ago
by
Marcus Winter
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
base_c: build fix for freebsd
parent
3e00afd6
global_scheduling
…
development
embb533_worker_thread_os_priorities
master
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
base_c/src/thread.c
+2
-0
No files found.
base_c/src/thread.c
View file @
d6cf14ea
...
...
@@ -252,10 +252,12 @@ typedef struct embb_internal_thread_arg_t {
* argument.
*/
void
*
embb_internal_thread_start
(
void
*
internalArg
)
{
#ifdef EMBB_PLATFORM_HAS_GLIB_CPU
pid_t
tid
;
tid
=
syscall
(
SYS_gettid
);
setpriority
(
PRIO_PROCESS
,
tid
,
((
embb_internal_thread_arg_t
*
)
internalArg
)
->
priority
);
#endif
((
embb_internal_thread_arg_t
*
)
internalArg
)
->
result
=
((
embb_internal_thread_arg_t
*
)
internalArg
)
->
func
(
((
struct
embb_internal_thread_arg_t
*
)
internalArg
)
->
arg
);
...
...
This diff is collapsed.
Click to expand it.
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