Since everything is immutable and also there is nothing shared between 2 BEAM processes[1], there is no issue with that code in terms of concurrent processing.
[1] Well, in fact, large binaries are shared across processes, but as they are still immutable we do not get any problems because of this as well.


















