in reply to Re: Critical section FCFS
in thread Critical section FCFS
Crit.pl is one thread program. It may be called simultaneously, as you mentioned I need to serialize access.
Example: Call1 to crit.pl - running Call2 - waiting for lock Call3 - waiting for lock ..
In this case call2 should execute after call1 completes, followed by call3.
Can you please explain more on how shared variable can be used for this?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Critical section FCFS
by Anonymous Monk on Jul 14, 2016 at 04:13 UTC | |
by aj7700 (Initiate) on Jul 14, 2016 at 05:19 UTC | |
by Anonymous Monk on Jul 14, 2016 at 18:49 UTC | |
by BrowserUk (Patriarch) on Jul 14, 2016 at 18:56 UTC |