FORUMS PROFESSIONNELS
WINDEV
,
WEBDEV
et
WINDEV Mobile
Accueil
|
Messages récents
|
Connexion
|
Déconnexion
|
Français
Accueil
→
WEBDEV 2024
→
[WB20] Shared background threads
[WB20] Shared background threads
Débuté par Robert, 10 avr. 2017 18:06 - Aucune réponse
Connectez-vous…
Robert
#1
Membre enregistré
105 messages
Posté le 10 avril 2017 - 18:06
Hi everyone.
Is it possible to use ThreadExecute() to start a secondary thread that is global to a web service across multiple users?
I have a web service that allows users to update a HFSQL file from their mobile devices.
I would like for a specific web procedure to check for the existence of a global thread, and if there isn't one, to start it.
Currently it seems that each time a client connects to a web service, a new instance is started.
The user hits that check, and ThreadState() returns threadUnknown.
When that connection is done, the server runs the global close procedure and kills the background thread before it gets a chance to finish.
Thanks!
Signaler
0
0
→ Revenir à WEBDEV 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