added IMMEDIATE flag for inter-process communication