3
0
mirror of https://github.com/triqs/dft_tools synced 2024-12-25 05:43:40 +01:00
dft_tools/pytriqs
Olivier Parcollet 446f817111 wrapper: add release_GIL_and_enable_signal option.
- Add to the wrapper generator (add_method) the release_GIL_and_enable_signal option which :

   - release the GIL
   - save the python signal handler
   - enable the C++ triqs signal handler instead.
   - undo all of this after the code runs, or in a case of exception.
   - used python include, ceval.h, line 72 comments and below.

- reworked the triqs::signal_handler.
  simple C like function, no object (no need).
  start, stop, received, cf header file.

- clean the call_back.cpp : only place using the signal directly
  (qmc uses the callback).
  in particular, remove the old BOOST CHRONO, since
  the std::chrono works fine on platforms we use now.
2014-05-30 21:09:18 +02:00
..
archive Fix missing cached key in archives 2013-12-23 13:15:27 +01:00
dos Iteration over the doc 2013-12-31 14:22:00 +01:00
fit First commit : triqs libs version 1.0 alpha1 2013-07-17 19:24:07 +02:00
gf wrapper: add use_module 2014-05-30 19:34:13 +02:00
lattice wrapper: add use_module 2014-05-30 19:34:13 +02:00
operators wrapper: add use_module 2014-05-30 19:34:13 +02:00
parameters wrapper: add use_module 2014-05-30 19:34:13 +02:00
plot First commit : triqs libs version 1.0 alpha1 2013-07-17 19:24:07 +02:00
random_generator wrapper: add use_module 2014-05-30 19:34:13 +02:00
sumk First commit : triqs libs version 1.0 alpha1 2013-07-17 19:24:07 +02:00
utility pytriqs: add option to use mpi4py instead of boost.python.mpi 2013-12-30 22:32:09 +01:00
wrap_generator wrapper: add release_GIL_and_enable_signal option. 2014-05-30 21:09:18 +02:00
wrap_test wrapper: add release_GIL_and_enable_signal option. 2014-05-30 21:09:18 +02:00
__init__.py Add new wrapper generator 2014-05-11 21:47:46 +02:00
__init__.py.template First commit : triqs libs version 1.0 alpha1 2013-07-17 19:24:07 +02:00
CMakeLists.txt Remove Cython & prepare wrapper for applis. 2014-05-30 19:34:13 +02:00
version.py.in Work on documentation 2013-09-17 14:55:55 +02:00