Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CPP

cpp pass function with input to thread

std::thread t(func1,a,b,c,d);
t.join();
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #cpp #pass #function #input #thread
ADD COMMENT
Topic
Name
7+9 =