Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TASTE
PolyORB-HI-C
Commits
caaea23b
Commit
caaea23b
authored
Feb 02, 2016
by
yoogx
Browse files
* Do not consider management of thread affinity, these macros
are not support by compcert (as of 1.12)
parent
809690e8
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/po_hi_task.c
View file @
caaea23b
...
...
@@ -319,6 +319,8 @@ pthread_t __po_hi_posix_create_thread (__po_hi_priority_t priority,
}
#if defined (POSIX) && defined (__linux__)
#ifndef __COMPCERT__
/* Thread affinity */
cpu_set_t
cpuset
;
...
...
@@ -330,6 +332,9 @@ pthread_t __po_hi_posix_create_thread (__po_hi_priority_t priority,
__DEBUGMSG
(
"CANNOT SET AFFINTY
\n
"
);
return
((
pthread_t
)
__PO_HI_ERROR_PTHREAD_ATTR
);
}
#else
#warning pthread_affinity managmeent disabled for Compcert
#endif
#endif
#if defined (POSIX) || defined (XENO_POSIX)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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