Passing arguments to a new thread

Mars - at -.-
Fri Jan 20 06:12:20 PST 2012


Hello everybody.
As the title states, I want to run a function in a new thread, 
and pass it some arguments. How would I do that? I guess I could 
make a class, deriving from Thread, and work with it, but out of 
curiosity, I'd like to know if it's possible with a simple 
function.

Mars


More information about the Digitalmars-d-learn mailing list