O
OlegM
Guest
Hi, You need an atomic operation and this operation is os-rename. First you need to create a known unique file. For example, the file name includes a pid, date, time, user number, and so on. Then this file is renamed. Only one user will see the zero result of the os-error function, which means a successful file creation. Another user will receive the result 10 (File exists).
Continue reading...
Continue reading...