In this scenario, I would suggest you to use pipe. Pseudo code :-
run has to read the named pipe whether any user name there or not. If user is there Give prefrences to the user write the second user name in the pipe, so that next time when run reads the pipe this will get the new username If no user run has to write the username in named pipe.
In reply to Re: manage file in parallel
by jesuashok
in thread manage file in parallel
by azaria
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |