I've never used threads before and I need to perform a task without blocking the GUI. I'm in a bit hurry, so I do not want to get down to technical nitty gritty as of right now. I'm guessing that Juce's Thread class might make everything very easy. Can anyone please suggest me a skeleton code for performing such a task. I just need to call one method of a class and want it to work in background.

Also, the method does not access any critical section... it works with local variables... compute the result and store it in its object's data member.

Leave it... I've done it.

For those who come after...

There's threading examples in the Juce Demo app.