Leonardo de Moura
|
2673a33bf3
|
fix(util/thread_script_state): new state was being added twice to g_states, use import_explicit
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-06-27 19:58:28 -07:00 |
|
Leonardo de Moura
|
b9a7cc41ef
|
feat(shell): use system_import for lua files provided in the command line (i.e., their code will be available for all threads)
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-06-17 22:04:09 -07:00 |
|
Leonardo de Moura
|
15f0899efb
|
refactor(*): replace LEAN_THREAD_LOCAL with MK_THREAD_LOCAL_GET, the new macro uses the Boost thread_local_ptr instead of 'thread_local' directive
Motivation: clang++ on OSX does not support 'thread_local'.
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-06-07 10:18:36 -07:00 |
|
Leonardo de Moura
|
af0b02f521
|
fix(util/thread_script_state): add a better workaround for clang++ bug
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-06-06 18:54:10 -07:00 |
|
Leonardo de Moura
|
06d2ff021b
|
feat(util/thread_script_state): add system_import procedure
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-06-06 16:23:24 -07:00 |
|
Leonardo de Moura
|
e9ef59ab3e
|
feat(util): add global (thread local) script_state objects
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-06-06 15:46:16 -07:00 |
|