aboutsummaryrefslogtreecommitdiff
path: root/src/im-sandbox.c
AgeCommit message (Collapse)Author
2017-12-12indexamajig: Rename --serial-offset to --serial-startThomas White
Because "offset" sounds like it will add the argument to the serial numbers, i.e. --serial-offset=500 would start at 501. Actually, you just give the first serial number you'd like.
2017-12-12indexamajig: Add --serial-offsetThomas White
2017-09-27Fix check for CBF files in event enumerationThomas White
-1 means the check failed.
2017-09-21Improve error message when using CBF files and a multi-event geometryThomas White
2017-05-02Skeleton image file APIThomas White
2017-03-08Allow indexing system to store its own data, independently of indexing methodsThomas White
Previously, the indexing system passed all the information on to the indexing engines and then forgot about it. That made it difficult to do things like check the indexing solution after prediction refinement, because the target unit cell was unavailable. Now, the indexing system itself can keep some information. Of course, that information includes the private pointers for the indexing engines themselves. I took the opportunity to streamline things a little bit. The caller can now set up the indexing system in one step, without having to separately parse the names of the indexing methods. The caller no longer has to keep track of a separate array of methods, instead just one structure which contains everything.
2017-02-02Cannot use stamp_response() hereThomas White
We have a pipe index (0 to n_read), not a process index (0 to n_proc). These are two separate lists, with no correspondence between them. See 7dbbfa4 for another fix related to this issue.
2017-02-02indexamajig: Add ping mechanism to avoid timing out when trying lots of indexersThomas White
2017-01-12indexamajig: Fix hanging on "Waiting for last patterns"Thomas White
2016-08-16indexamajig: Detect and kill hung worker processesThomas White
2016-08-16Remove unused memberThomas White
2016-03-14Add SA_RESTART to signal handlersThomas White
Fixes corrupted output when heavily multi-processing.
2016-03-01indexamajig: Wall clock profilingThomas White
2015-12-13indexamajig: Restart fgets() in pump_chunk() if interrupted by system callThomas White
This fixes the occasional unterminated chunk found in the output.
2015-07-13Fix racy queue fillingThomas White
2015-07-13Slow down the status updatesThomas White
2015-07-13Clean up semaphore on interruptThomas White
Necessary since we encourage users to interrupt indexamajig with Ctrl+C Also, generally improve the signal handling.
2015-07-13Use named semaphores instead of unnamedThomas White
2015-07-13indexamajig: Avoid forking while multithreadedThomas White
Conflicts: src/im-sandbox.c
2015-07-13Re-work im-sandboxThomas White
... it certainly needed it.
2015-07-09Tidy up error handling when given dodgy data locationsThomas White
2015-06-25Tidy up some small leaks and memory bugsThomas White
2015-06-23s/MAP_ANONYMOUS/MAP_ANON/Thomas White
Needed for OSX compatability
2015-06-18Replace semaphore with a mutexThomas White
A mutex (in a shared memory segment) is the correct synchronisation primitive here. I had confused myself...
2015-06-17Use a POSIX semaphore for synchronising terminal access during indexingThomas White
Nice side-effect: indexamajig -j and --int-diag can now be used together
2015-02-05Remove --element option from inxexamajigValerio Mariani
2014-12-10Further improvements to reading of events in worker processesThomas White
2014-12-10Do not send the next filename if suspend/release occursThomas White
2014-12-10Improve detection of error conditions when reading events in worker processesThomas White
2014-12-10Don't shut down worker process just because main process takes a while to ↵Thomas White
produce an event Reported by Takanori Nakane
2014-10-23Fix a load of memory leaksThomas White
2014-10-23Add serial numbers to chunksThomas White
2014-10-16FussinessThomas White
2014-09-24Avoid a malloc() callThomas White
2014-09-24FussinessThomas White
2014-09-24Move photon_energy to "geometry" fileThomas White
2014-09-22Beam file removal, part IThomas White
2014-09-05Multi-event mode bug fixesValerio Mariani
2014-09-05Multi-event modeValerio Mariani
2014-08-25Report final indexing percentageThomas White
2014-07-24Suspend indexing statistics while --int-diag is displayingThomas White
2014-05-22Rationalise and document stream "open for write" functionsThomas White
A nice side-effect is that streams now only have one set of headers
2014-05-08Strip out the "prepare_filename" rubbishThomas White
2013-10-10indexamajig: Add --temp-dirThomas White
2013-08-26Fix previous commitThomas White
2013-08-26Display indexing yield as a percentageThomas White
2013-03-17Fix race condition in reader threadThomas White
I'm not sure what this line was doing. Hopefully just a "brain fart" from before.
2013-02-22FussinessThomas White
2013-02-22If no progress, still check if everything's finished or notThomas White
2013-02-22Avoid fclose(NULL)Thomas White