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
make xbt_os_thread_self() useless, and kill it
[simgrid.git]
/
src
/
kernel
/
context
/
ContextThread.cpp
diff --git
a/src/kernel/context/ContextThread.cpp
b/src/kernel/context/ContextThread.cpp
index
3f93201
..
01c084e
100644
(file)
--- a/
src/kernel/context/ContextThread.cpp
+++ b/
src/kernel/context/ContextThread.cpp
@@
-69,9
+69,7
@@
ThreadContext::ThreadContext(std::function<void()> code, void_pfn_smxprocess_t c
xbt_os_thread_setguardsize(smx_context_guard_size);
/* create and start the process */
xbt_os_thread_setguardsize(smx_context_guard_size);
/* create and start the process */
- /* NOTE: The first argument to xbt_os_thread_create used to be the process *
- * name, but now the name is stored at SIMIX level, so we pass a null */
- this->thread_ = xbt_os_thread_create(nullptr, ThreadContext::wrapper, this);
+ this->thread_ = xbt_os_thread_create(ThreadContext::wrapper, this);
/* wait the starting of the newly created process */
this->end_.acquire();
}
/* wait the starting of the newly created process */
this->end_.acquire();
}