3
0
mirror of https://github.com/triqs/dft_tools synced 2024-12-25 05:43:40 +01:00
dft_tools/triqs
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
..
arrays array & gf transpose 2014-05-22 16:08:23 +02:00
clef clef: correct TRIQS_CLEF_IMPLEMENT_LAZY_METHOD 2014-04-25 16:06:44 +02:00
det_manip Work on compilation speed. 2014-05-02 20:49:19 +02:00
gfs Remove Cython & prepare wrapper for applis. 2014-05-30 19:34:13 +02:00
h5 Remove Cython & prepare wrapper for applis. 2014-05-30 19:34:13 +02:00
lattice wrapper : remove the need of default constructor 2014-05-30 19:34:13 +02:00
mc_tools Change implementation of random_generator & python wrapper. 2014-05-29 22:25:22 +02:00
operators Add many_body_operator header in triqs 2014-05-22 23:58:07 +02:00
parameters fixes in wrap_generator, parameters, h5 for strings 2014-05-30 14:16:15 +02:00
python_tools wrapper: add release_GIL_and_enable_signal option. 2014-05-30 21:09:18 +02:00
statistics statistics : fix get_value_type detection 2014-04-17 13:48:54 +02:00
utility wrapper: add release_GIL_and_enable_signal option. 2014-05-30 21:09:18 +02:00
arrays.hpp arrays : rm linalg/determinant and inverse (links) 2013-08-27 13:43:57 +02:00
clef.hpp First commit : triqs libs version 1.0 alpha1 2013-07-17 19:24:07 +02:00
CMakeLists.txt Fix compilation of py_converter. 2014-05-20 22:24:30 +02:00
det_manip.hpp add header helper files 2013-11-18 23:41:32 +01:00
gfs.hpp gf. Clean Fourier 2013-10-23 18:46:55 +02:00
h5.hpp Fix h5 serialization: no test for old hdf5 2014-05-21 11:05:48 +02:00
mc_tools.hpp add header helper files 2013-11-18 23:41:32 +01:00
parameters.hpp First commit : triqs libs version 1.0 alpha1 2013-07-17 19:24:07 +02:00
statistics.hpp Statistical tools documentation. 2014-04-17 13:39:51 +02:00
version.hpp.in Work on documentation 2013-09-17 14:55:55 +02:00