Spinroot

A forum for Spin users

You are not logged in.

#1 2011-01-25 07:20:31

rangu
Member
Registered: 2011-01-03
Posts: 6

Question related with atomic

let their are 2 atomic section in a process P and in init process i created 3 instance of that process P then in execution let 1st instance of P is inside 1st atomic section then, are other 2 instance of process P is allowed to enter 2nd atomic section without executing 1st atomic section or not?
Basically i want to know what will be the execution sequence.

Offline

#2 2011-01-25 20:33:12

spinroot
forum
Registered: 2010-11-18
Posts: 691
Website

Re: Question related with atomic

the execution of an atomic sequence is indivisible
so no other processes can execute any statements while process P is inside its atomic
(until either P finishes the atomic sequence, or it blocks on an unexecutable statement)

Offline

Board footer

Powered by FluxBB