Leonardo de Moura
0556412f8d
refactor(*): add runtime folder
...
@kha The runtime folder includes what is needed to link a
standalone Lean program. It is still contains some unnecessary files.
We will be able to remove them after we release Lean4.
2018-05-14 14:23:56 -07:00
Leonardo de Moura
78d8ff8031
feat(*): add reset_thread_local
2018-02-21 15:04:19 -08:00
Nuno Lopes
ac6a16ddba
feat(msvc): further work on MSVC compatibility
2018-02-06 10:11:09 -08:00
Gabriel Ebner
86f4c9a794
fix(util/thread): disable thread finalizer manager finalization due to race condition
2017-06-04 23:29:34 +02:00
Gabriel Ebner
901cef6629
refactor(util/thread): simplify thread life-cycle
2017-03-23 09:00:59 +01:00
Gabriel Ebner
823c451a51
fix(util/thread): detach unjoined threads
2017-03-23 08:57:56 +01:00
Leonardo de Moura
7112f6d685
feat(library/tactic): add try_for tactic
2017-02-11 20:35:42 -08:00
Gabriel Ebner
51821bd8c9
fix(util/thread): do not initialize thread_finalizers_manager in multiple threads
2016-12-08 13:11:40 -08:00
Leonardo de Moura
c77a987b4d
feat(util/thread): handle thread creation/join failure on Windows
2016-12-05 09:53:41 -08:00
Leonardo de Moura
612cde33b6
feat(util/thread): lthread for Windows
2016-12-05 09:42:21 -08:00
Leonardo de Moura
80d247eaff
fix(src/util): make sure thread stack size is > LEAN_STACK_BUFFER_SPACE
2016-12-03 12:05:01 -08:00
Leonardo de Moura
a9d3f36f76
feat(util/thread,library/mt_task_queue): add lthread
2016-12-03 11:29:22 -08:00
Leonardo de Moura
d454cc8bcd
feat(frontends/lean/elaborator): do not populate info_manager during thread finalization
2016-11-30 17:14:15 -08:00
Leonardo de Moura
d4ed8baf3c
chore(util/thread): mark global as static
2016-09-27 15:53:49 -07:00
Leonardo de Moura
57115688ea
chore(util/thread): fix style
2015-09-03 15:07:55 -07:00
Leonardo de Moura
ade3f80089
fix(util/thread,init/init): initialization problem
2015-09-03 14:43:50 -07:00
Leonardo de Moura
3c50a9cff8
fix(util/thread): LEAN_AUTO_THREAD_FINALIZATION on OSX
2015-09-03 14:18:31 -07:00
Leonardo de Moura
524e507022
fix(util/thread): make sure threads are finalized when using the Lean C API and threads are created by the host system
2015-09-02 12:23:10 -07:00
Leonardo de Moura
516c0c73b9
refactor(*): remove dependency to thread_local C++11 keyword, the
...
current compilers have several bugs associated with it
We use the simpler __thread (gcc and clang) and
__declspec(thread) (visual studio).
2014-09-24 12:51:04 -07:00
Leonardo de Moura
79cfb32ec7
refactor(util): explicit initialization/finalization
2014-09-23 08:13:33 -07:00
Leonardo de Moura
e7ae749221
feat(boost): implement multi-threading support using Boost
...
To use Boost instead of the standard library, we must use the cmake option
-D BOOST=ON
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2013-12-09 17:24:32 -08:00