pub static CODES_LOCK: Mutex<()>
Global mutex to synchronize functions that fail in concurrent context, eg. codes_handle_new_from_file, codes_index_add_file etc.
codes_handle_new_from_file
codes_index_add_file