Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Alternative implementation or parmap with busy waits instead of futexes
authorChristophe Thiéry <christopho128@gmail.com>
Fri, 9 Dec 2011 15:31:11 +0000 (16:31 +0100)
committerChristophe Thiéry <christopho128@gmail.com>
Fri, 9 Dec 2011 15:31:11 +0000 (16:31 +0100)
commit8f3905e6e13d9511eb3002f9bdeb30e147e76056
tree881dcc5cca805aae4641a0dc2d6f56c8edff5289
parentbc07ec1b28653016934209a9e84e249eebf703f0
Alternative implementation or parmap with busy waits instead of futexes

When the user contexts are run in parallel, you can choose the
synchronization mode of their parmap with:
--cfg=contexts/parallel_mode:{posix|futex|busy_wait}.
The default is futex. Posix synchronization is not implemented yet.
include/simix/context.h
include/xbt/parmap.h
src/simix/smx_context.c
src/simix/smx_context_raw.c
src/simix/smx_context_sysv.c
src/surf/surf_config.c
src/xbt/parmap.c