Syncrous Messages
Posted: Sat Dec 27, 2014 8:40 pm
Hi
in my application i have multiple threads acting as services i.e. SMS, HTTP, FTP etc etc
These services i'm looking to use by passing messages(structs passed by pointer) to them, but to do this one needs to know the thread pointer of the thread.
What is the best way to manage this ?
You could have a array of thread pointers that are initialized when the threads are created, but was not sure if this is the best solution to the problem.
in my application i have multiple threads acting as services i.e. SMS, HTTP, FTP etc etc
These services i'm looking to use by passing messages(structs passed by pointer) to them, but to do this one needs to know the thread pointer of the thread.
What is the best way to manage this ?
You could have a array of thread pointers that are initialized when the threads are created, but was not sure if this is the best solution to the problem.