As part of my project, I have to change the numerical integration algorithm using streams.
This is roughly what happens in the traditional sequential approach.
void Controller(struct DE)
{
for(;;)
{
NIiter();
}
}
Now this is what I intend to do ....
void Controller(struct DE)
{
for(;;)
{
NIiter();
}
}
But I don’t understand how to tell my controller that an approximate solution is available ... so it can start a new thread ...
This is my first introduction to multi-threaded programming ... so forgive me if this seems like an obvious question. I also use the Pthread library in my project ...
source
share