3
0
mirror of https://github.com/triqs/dft_tools synced 2024-12-25 13:53:40 +01:00
dft_tools/triqs/utility
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
..
draft Work on compilation speed. 2014-05-02 20:49:19 +02:00
python First commit : triqs libs version 1.0 alpha1 2013-07-17 19:24:07 +02:00
arithmetic_ops_by_cast.hpp gf: fix matsubara_freq and mesh_pt 2013-11-20 15:16:53 +01:00
boost_serialization.hpp Serialization boost/h5 and clean parameters 2014-05-21 14:35:26 +02:00
buffered_function.hpp Change implementation of random_generator & python wrapper. 2014-05-29 22:25:22 +02:00
c14.hpp add c14 less, greater 2014-03-16 00:11:56 +01:00
callbacks.cpp wrapper: add release_GIL_and_enable_signal option. 2014-05-30 21:09:18 +02:00
callbacks.hpp callback: move to std::chrono instead of boost 2013-12-10 11:52:53 +01:00
CMakeLists.txt First commit : triqs libs version 1.0 alpha1 2013-07-17 19:24:07 +02:00
compiler_details.hpp clean the TRIQS_COMPILER macros 2013-10-21 15:12:08 +02:00
complex_ops.hpp utility : correct a compile macro 2013-10-21 15:11:42 +02:00
concept_tools.hpp Work on compilation speed. 2014-05-02 20:49:19 +02:00
count_type_occurrence.hpp First commit : triqs libs version 1.0 alpha1 2013-07-17 19:24:07 +02:00
crash_logger.hpp First commit : triqs libs version 1.0 alpha1 2013-07-17 19:24:07 +02:00
debug_stream.hpp mc_tools : add access # proposed/accepted. Add debug_stream 2014-02-28 17:20:55 +01:00
dressed_iterator.hpp First commit : triqs libs version 1.0 alpha1 2013-07-17 19:24:07 +02:00
exceptions.hpp wrapper: add release_GIL_and_enable_signal option. 2014-05-30 21:09:18 +02:00
expression_template_tools.hpp Fix expression template for gf & std::vector 2013-09-22 18:17:40 +02:00
factory.hpp implement array_const_view 2013-10-21 15:12:53 +02:00
first_include.hpp Fix for clang 1y with gcc lib 2014-01-20 10:50:52 +01:00
fortran_mangling.hpp First commit : triqs libs version 1.0 alpha1 2013-07-17 19:24:07 +02:00
function_arg_ret_type.hpp First commit : triqs libs version 1.0 alpha1 2013-07-17 19:24:07 +02:00
has_traits.hpp First commit : triqs libs version 1.0 alpha1 2013-07-17 19:24:07 +02:00
is_complex.hpp Work on compilation speed. 2014-05-02 20:49:19 +02:00
kronecker.hpp kronecker function and overload for matsubara_freq 2014-03-02 17:11:48 +01:00
legendre.hpp First commit : triqs libs version 1.0 alpha1 2013-07-17 19:24:07 +02:00
macros.hpp Add TRIQS_CATCH_AND_ABORT macro 2013-10-17 00:32:08 +02:00
mini_vector.hpp Work on compilation speed. 2014-05-02 20:49:19 +02:00
mpi.hpp Work on compilation speed. 2014-05-02 20:49:19 +02:00
pade_approximants.hpp First commit : triqs libs version 1.0 alpha1 2013-07-17 19:24:07 +02:00
report_stream.hpp First commit : triqs libs version 1.0 alpha1 2013-07-17 19:24:07 +02:00
scope_guard.hpp remove workaround for icc 13.0 2013-10-17 00:32:09 +02:00
serialization.hpp parameters : small details 2014-05-21 17:51:40 +02:00
signal_handler.cpp wrapper: add release_GIL_and_enable_signal option. 2014-05-30 21:09:18 +02:00
signal_handler.hpp wrapper: add release_GIL_and_enable_signal option. 2014-05-30 21:09:18 +02:00
stack_trace.cpp First commit : triqs libs version 1.0 alpha1 2013-07-17 19:24:07 +02:00
stack_trace.hpp Fix for clang 1y with gcc lib 2014-01-20 10:50:52 +01:00
std_vector_expr_template.hpp [API change] gf : factories -> constructors 2013-10-21 15:11:44 +02:00
time_pt.hpp remove workaround for icc 13.0 2013-10-17 00:32:09 +02:00
timer.hpp First commit : triqs libs version 1.0 alpha1 2013-07-17 19:24:07 +02:00
traits.hpp arrays: clean cache, add traits ... 2013-11-18 23:41:32 +01:00
tuple_serialize.hpp changing non_view_type to regular_type 2013-08-27 13:43:57 +02:00
tuple_tools.hpp Fix g(k,om) for tests 2014-02-26 16:24:51 +01:00
typeid_name.cpp Work on compilation speed. 2014-05-02 20:49:19 +02:00
typeid_name.hpp Fix #74. Correction of previous commit for gcc 4.8.1 2014-05-05 18:29:52 +02:00
view_tools.hpp implement array_const_view 2013-10-21 15:12:53 +02:00