A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use standard C/C++ attributes when available.
[simgrid.git]
/
src
/
xbt
/
xbt_os_thread.c
diff --git
a/src/xbt/xbt_os_thread.c
b/src/xbt/xbt_os_thread.c
index
8690348
..
f0d9358
100644
(file)
--- a/
src/xbt/xbt_os_thread.c
+++ b/
src/xbt/xbt_os_thread.c
@@
-162,7
+162,7
@@
xbt_os_thread_t xbt_os_thread_create(const char *name, pvoid_f_pvoid_t start_ro
*
* If pthread_setaffinity_np is not usable on that (non-gnu) platform, this function does nothing.
*/
*
* If pthread_setaffinity_np is not usable on that (non-gnu) platform, this function does nothing.
*/
-int xbt_os_thread_bind(
xbt_os_thread_t XBT_ATTRIB_UNUSED thread, int XBT_ATTRIB_UNUSED
cpu)
+int xbt_os_thread_bind(
XBT_ATTRIB_UNUSED xbt_os_thread_t thread, XBT_ATTRIB_UNUSED int
cpu)
{
int errcode = 0;
#if HAVE_PTHREAD_SETAFFINITY
{
int errcode = 0;
#if HAVE_PTHREAD_SETAFFINITY