Data Source Sharing Interaction (Magic xpa 3.x)
The following table describes the sharing interaction between two tasks opening the same data source. A plus sign (+) indicates that modes are compatible while a minus sign (–) indicates that modes are incompatible.
|
Process A
|
|
|
|
|
|
|
|
|
Access Mode
|
|
Read
|
|
|
Write
|
|
|
|
Mode
|
Share Mode
|
Read
|
Write
|
None
|
Read
|
Write
|
None
|
|
|
Mode
|
|
|
|
|
|
|
|
Process B
|
Read
|
Read
|
|
+
|
+
|
–
|
+
|
+
|
–
|
|
|
Write
|
|
+
|
+
|
–
|
+
|
+
|
–
|
|
|
None
|
|
–
|
–
|
–
|
–
|
–
|
–
|
|
Write
|
Read
|
|
–
|
+
|
–
|
–
|
–
|
–
|
|
|
Write
|
|
–
|
+
|
–
|
–
|
+
|
–
|
|
|
None
|
|
–
|
–
|
–
|
–
|
–
|
–
|
Valid Access Modes
|
For example, if Process A opens the table in R/R mode (that is, Access=R and Share=R), Process B can open the same table with modes R/R and R/W.
If process A opens the table in R/W mode, process B can open the table in R/R, R/W, W/R, or W/W modes.