There is no encapsulation like in OOP (data level), but there is another kind of encapsulation (process level): a process is the only one accessing/modifying its own state.
And this is very liberating when you need to think about what is going on, what could go wrong...