miner.h inline semaphores increase information on failure