I need some help about delaying a method from returning the answer, Asynchronous..
Thank you for reading my post.
I have an interface which has two method with several parameters and I should implement this method to complete a task, eg: calculating a series.
The tester program will load my "dynamic shared library" and call initialize method for calibration. then It create several threads to call the worker method named calcSeries(......) . each thread may call the method several times.
for example following 4 calls need to be issued by one of the above threads.
Is it possible to return the result asynchronously ?
for example I get all calls and then return the result when I complete them?
Maybe 4th call complete before other ones.