NI Home
Cart Cart | Help
Hello Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI
You are here: 
NI Home > NI Developer Zone > NI Discussion Forums


Reply
Member
Moshi
Posts: 23
0 Kudos

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.

Member
Rohama_K
Posts: 162
0 Kudos

Re: Problem in scheduling two threads behind a button callback

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.
Applications Engineer
National Instruments
By using this web site, you accept the Terms of Use for this web site. Please read these Terms of Use carefully before using any part of this site. Please go here for information on ni.com's copyright infringement policy.
My Profile | Privacy | Legal | Contact NI © 2011 National Instruments Corporation. All rights reserved.    |    E-Mail this Page E-Mail this Page