Threading Question

rmatthew

Centurion
Joined
Dec 30, 2002
Messages
115
Location
Texas
I have a thread that I want to call back to a function in my main class? Is there a way to make these functions visible/usable to the thread?
 
The thread just needs a point of reference to the instance of your main class that it needs.

You could do this any number of ways, including a shared field of the main class which returns the instance (if you're only having one).
 
Back
Top