FORUMS PROFESSIONNELS
WINDEV
,
WEBDEV
et
WINDEV Mobile
Accueil
|
Messages récents
|
Connexion
|
Déconnexion
|
Français
Accueil
→
WINDEV 2024
→
iDestination and Threads
iDestination and Threads
Débuté par Dave Summers, 10 mar. 2019 16:35 - 1 réponse
Connectez-vous…
Dave Summers
#1
Posté le 10 mars 2019 - 16:35
Hi all
I have an issue that i am hoping someone can help/advise on;
A process is running two individual procedures on seperate threads (using theadexecute). Within these threads, both run reports to file. It seems that if both threads/reports run at exactly the same time, then the properties of the iDestination are not respected for the individual thread. i.e. the output filename for both reports ends up being from one of the idestination calls even though they are coded as both being unique
Any help or advice would be greatly appreciated
Kind Regards
Dave
Signaler
0
0
Tim
#2
Membre enregistré
34 messages
Popularité : +3 (3 votes)
Posté le 25 mars 2019 - 16:32
Hello,
Make a class that handles printing of those reports with an internal queue.
Or make use of
CriticalSectionStart
(
"Name"
)
https://doc.windev.com/en-US/…
Signaler
0
0
→ Revenir à WINDEV 2024
WINDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
WINDEV (précédentes versions)
Français
English
Español
Portuguesa
Fermer cette fenêtre
Type de recherche
Uniquement les sujets
Tous les messages
Période de recherche
Date indifférente
Moins d'une heure
Moins de 24 heures
Moins d'une semaine
Moins d'un mois
Moins d'un an
Annuler
Aperçu de votre message
Ajouter une image
Importer une image depuis une URL
Envoyer une image depuis un fichier de votre disque
Déposez ici un fichier ou cliquez sur "Parcourir..."
ou
Annuler
0%
WLangage
SQL
XML, HTML
JAVA, Javascript
Texte