Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Shorter than sys(2015)
Message
De
05/02/2015 03:17:29
 
 
À
04/02/2015 06:10:49
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2008 Server
Database:
Visual FoxPro
Application:
Web
Divers
Thread ID:
01614860
Message ID:
01614905
Vues:
73
>Hi,
>
>Who knows a shorter unique result than SYS(2015) delivers?

Sys(2015) has a small error window for 1 core, 1 process scenarios. Adding cores and threads/processes or even other machines will create duplicates somewhen. Metin gave you one safe option, but as you are already multi-user, create a semaphore table and use old and trusted ways to get unique ID's if you want to put all temp files in a common area.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform