id,summary,reporter,owner,description,type,status,milestone,component,version,severity,resolution,keywords,cc 12486,system_error_code for thread safe,lzwyg ,Ion Gaztañaga,"if(!create_directory(root_shared_dir.c_str())){ error_info info(system_error_code()); if(info.get_error_code() != already_exists_error){ throw interprocess_exception(info); } } If the directory exists, get last error is already_exists_error, but in the multi thread environment, last_error will be rewritten by another thread. Whether this can be improved by compiler options? test environment: MAC OS",Bugs,closed,To Be Determined,interprocess,Boost 1.61.0,Problem,invalid,,