The classic concurrency problem, implemented in three programmming languages Java, Erlang and Node.js, using three different algorithms for each: with deadlock, resource hierarchy, with arbitrator. In some solutions BEB algorythm was used, to resolve conflicts.