Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <thread>
- void main() {
- while (true) {
- std::thread *superThread = new std::thread([]() {
- int = 0;
- while (true) {
- i ++;
- }
- });
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement