I have two
thread Tread & Tmain
Tread is an infinite loop reads a configuration file after after certain period.
Tmain works based on the information Tread collected from configuration file.
If Tmain executes before Tread fully read the conf. file then it will through null pointer Exception.
Now how to make it sure that only after reading the file fully Tmain is executed...
thnx in advance...