1829463 Members
1559 Online
109991 Solutions
New Discussion

Simultaneous execution

 
Isaac_4
Frequent Advisor

Simultaneous execution

Hello:

I want to know if it is possible at grade Operative System that an application is executed gives alone once, and that it doesn't allow another user to execute this application again, while this in execution
Thank you

Isaac Smith
The time is gold
3 REPLIES 3
Patrick Wallek
Honored Contributor

Re: Simultaneous execution

This would have to be coded into the application. The app would have to make use of something like a lock file where the lock file is created the first time the app is executed. If someone else tries to execute the app and the lock file is present then the app will exit out. Once the first occurrence of the app is finished, the lock file can be removed allowing someone else to run the application.
Bruce Bunny
New Member

Re: Simultaneous execution

Hi Issac

I liked your example of simultaneous execution

BB
bruces rule
Isaac_4
Frequent Advisor

Re: Simultaneous execution

For example:

ejecute ioscan command, but I'm dont want that other user use ioscan command at the same time

T. Y.
Isaac
The time is gold