Synchronization in Managed COBOL
 
		 
		*> Synchronize on an object's monitor, in this case
*> the current object
sync on self
   *> The code here is synchronized
end-sync
 
	 Synchronization in C#
 
		 
		// Synchronize on an object's monitor, in this case
// the current object
lock (this)
{
    // The code here is synchronised
}