diff options
author | Thomas White <taw@physics.org> | 2015-06-17 14:03:55 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2015-06-17 14:10:45 +0200 |
commit | 14d8651e663538be7445e74cef9206ce9ab4cf36 (patch) | |
tree | c3c49e07d2800d028af684adcade95b52ec629de /libcrystfel/src/integration.h | |
parent | 031a4d37cf355fd72a991dbd1167c8e492011730 (diff) |
Use a POSIX semaphore for synchronising terminal access during indexing
Nice side-effect: indexamajig -j and --int-diag can now be used together
Diffstat (limited to 'libcrystfel/src/integration.h')
-rw-r--r-- | libcrystfel/src/integration.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/libcrystfel/src/integration.h b/libcrystfel/src/integration.h index ca04157a..7414f818 100644 --- a/libcrystfel/src/integration.h +++ b/libcrystfel/src/integration.h @@ -3,11 +3,11 @@ * * Integration of intensities * - * Copyright © 2012-2014 Deutsches Elektronen-Synchrotron DESY, + * Copyright © 2012-2015 Deutsches Elektronen-Synchrotron DESY, * a research centre of the Helmholtz Association. * * Authors: - * 2010-2014 Thomas White <taw@physics.org> + * 2010-2015 Thomas White <taw@physics.org> * * This file is part of CrystFEL. * @@ -33,6 +33,7 @@ #include <config.h> #endif +#include <semaphore.h> #include "geometry.h" @@ -127,7 +128,7 @@ extern void integrate_all_4(struct image *image, IntegrationMethod meth, double ir_inn, double ir_mid, double ir_out, IntDiag int_diag, signed int idh, signed int idk, signed int idl, - int results_pipe); + sem_t *term_sem); #ifdef __cplusplus |