in reply to Critical section FCFS
What do you mean by "calls it first"? Programs run in parallel under multi-processor setups. The calls may be simultaneous.
Do you have one threaded program that needs to serialize its accesses? Or is it multiple programs that need to cooperate? (In the first case, just lock a shared variable and that's it.)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Critical section FCFS
by Anonymous Monk on Jul 14, 2016 at 02:44 UTC | |
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 |