implement Runnable to execute in parallel a function different than Run

Hi all, it is possible to implement the Runnable class executing as a separate thread a function different than Run? I would like to have a class able to perform in parallel different tasks when i require it. I could set some variable and check it within the Run but is not very clean maybe. Thank you

Answers

Sign In or Register to comment.