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
kill the (unused) lua context factory. Lua does fine with regular contextes. That...
[simgrid.git]
/
src
/
simix
/
smx_context.c
diff --git
a/src/simix/smx_context.c
b/src/simix/smx_context.c
index
3b42c82
..
c3bc155
100644
(file)
--- a/
src/simix/smx_context.c
+++ b/
src/simix/smx_context.c
@@
-11,10
+11,6
@@
#include "xbt/swag.h"
#include "private.h"
#include "xbt/swag.h"
#include "private.h"
-#ifdef HAVE_LUA
-#include <lauxlib.h>
-#endif
-
XBT_LOG_NEW_DEFAULT_SUBCATEGORY(simix_context, simix,
"Context switching mecanism");
XBT_LOG_NEW_DEFAULT_SUBCATEGORY(simix_context, simix,
"Context switching mecanism");
@@
-116,14
+112,6
@@
int SIMIX_context_select_factory(const char *name)
THROW0(not_found_error, 0,
"Factory 'sysv' does not exist: no System V thread support under Windows");
#endif
THROW0(not_found_error, 0,
"Factory 'sysv' does not exist: no System V thread support under Windows");
#endif
- else if (!strcmp(name, "lua"))
-#ifdef HAVE_LUA
- SIMIX_ctx_lua_factory_init(factory);
-#else
-
- THROW0(not_found_error, 0,
- "Factory 'lua' does not exist: Lua support was not compiled in the SimGrid library");
-#endif /* HAVE_LUA */
else
THROW1(not_found_error, 0, "Factory '%s' does not exist", name);
else
THROW1(not_found_error, 0, "Factory '%s' does not exist", name);