How to implement multithreaded access to file-based queue in bash script How to implement multithreaded access to file-based queue in bash script bash bash