c++ simple start a function with its own thread
Posted
by
user1397417
on Stack Overflow
See other posts from Stack Overflow
or by user1397417
Published on 2012-11-20T10:57:19Z
Indexed on
2012/11/20
11:01 UTC
Read the original article
Hit count: 183
c++
|multithreading
i had once had a very simple one or two line code that would start a function with its own thread and continue running until application closed, c++ console app. lost the project it was in, and remember it was hard to find. cant find it online now. most example account for complicated multithreading situations. but i just need to open this one function in its own thread. hopefully someone knows what im talking about, or a similar solution.
eg. start void abc in its own thread, no parameters
© Stack Overflow or respective owner