next up previous
Next: 3 Example Usage Up: 2 Design Overview Previous: 2.3 Synchronization

2.4 Restrictions on Shared Objects

In general, almost any kind of Python object can be shared between processes using POSH. However, there are a few restrictions that shareable types should obey.

Most of these restrictions are pretty clear, and do not pose significant limitations in practice. However, the last point is rather subtle, and requires a certain vigilance on the programmer's part to avoid. POSH is able to issue warnings if a type is violating any of the other restrictions, but enforcing the last one remains up to the programmer.


next up previous
Next: 3 Example Usage Up: 2 Design Overview Previous: 2.3 Synchronization