Can anyone tell me the valid priority values? positive or negative??I have two threads spawning from the main() , say thread1 and thread2. thread2 always executes much faster than thread1. I want the other way round, because thread1 is much more important than thread2 in my program. Hence I was wondering if I should set higher priority to my thread1, thereby thread1 is executed more often and faster than thread2. Note:The processor is not too much of a good configuration neither does the computer have good memory. That could be another reason why threads cannot equally be efficient. However before giving up on the threading concept, I want to try with the thread priority. Please help.
ani_joe 2 Newbie Poster
Ancient Dragon commented: hijack -5
jephthah commented: his first post. it's a legit question, doesn't need to go full red for that. +7
jephthah 1,888 Posting Maven
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.