1. Beatrix Willius
  2. Valentina Database ADK
  3. Friday, December 15 2017, 01:53 PM
  4.  Subscribe via email
What do I need to do to run a diagnosis without blocking everything? The pizza of death is showing and the app shows up as "not responding" in the activity viewer?

I already use a thread


dim theDiagnoser as new DiagnoseThread(theDatabase, Silent)
theDiagnoser.Run

while not DiagnoseFinished or theDiagnoser.State = Thread.Running
app.SleepCurrentThread 100
wend
NotificationManager.RemoveReceiver self


and in the thread


if theDatabase.Diagnose(VerboseLevel, theDiagnoseFile) then

'database is okay
theDiagnoseFile.Delete
NotificationManager.Post "DiagnoseFinished", "Success"
'and so on


Any not responding makes users who may not be very experienced with computers force-quit my app.

Xojo 2017r1, El Capitan/High Sierra. Valentina 7.5.6.

Regards

Beatrix Willius
Comment
There are no comments made yet.
Ruslan Zasukhin Accepted Answer
hi Beatrix,

well, we have magic call from vkernel to Xojo SDK
to break this hang of Xojo in their cooperative threads.

We need ask Ivan to add it for Diagnoze.
Please add into Mantis feature request about this.
Comment
There are no comments made yet.
  1. more than a month ago
  2. Valentina Database ADK
  3. # 1
Beatrix Willius Accepted Answer
Wonderful! That's really great news. Here is the Mantis issue: http://www.valentina-db.com/bt/view.php?id=8150

Mit freundlichen Grüßen/Regards

Beatrix Willius

http://www.mothsoftware.com
Mail Archiver X: The email archiving solution for professionals
Comment
There are no comments made yet.
  1. more than a month ago
  2. Valentina Database ADK
  3. # 2
Beatrix Willius Accepted Answer
Any news on this topic?

Mit freundlichen Grüßen/Regards

Beatrix Willius

http://www.mothsoftware.com
Mail Archiver X: The email archiving solution for professionals
Comment
There are no comments made yet.
  1. more than a month ago
  2. Valentina Database ADK
  3. # 3
  • Page :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.

Categories

Announcements & News
  1. 0 subcategories
Valentina Studio
  1. 2 subcategories
Valentina Server
  1. 4 subcategories
Valentina Database ADK
  1. 0 subcategories
Valentina Reports ADK
  1. 0 subcategories
Other Discussions
  1. 0 subcategories
BETA Testing
  1. 0 subcategories
Education & Research
  1. 0 subcategories
Omegabundle
  1. 0 subcategories