Locks are commonest ways of providing consistent concurrency
Optimistic concurrency control and timestamping used in some
systems
But, consistency in concurrency is application dependent - for
shared editors, people may prefer to trade speed of execution
against possibilities of conflict resolution. Problems can occur
with long term network partition. Approaches based on notification
and people resolution becoming popular.