Comment Comment by codedokode Maybe, but in the example functions have only one argument with a pointer, so there cannot be any aliasing. And there is no need for locks because there is no pointers shared between threads. parent codedokode 4 years ago