LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Problem in scheduling two threads behind a button callback

Hello All.

 

In my code i am scheduling two threads behind a button callback. They usually run properly at the callback and both function properly.It occurs often that when i presses the button, one thread runs and other does not run. What can be the possible cause and remedy?

 

Thanks.

0 Kudos
Message 1 of 2
(2,867 Views)

Hi Moshi,

 

Are you processing the Windows message properly? Take a look the "Message Processing" section of this Developer Zone article and make sure that the Windows message isn't what is locking up your system.

Rohama K.
0 Kudos
Message 2 of 2
(2,851 Views)