Added get_process_pid_hash function