Advertisement
Guest User

Untitled

a guest
Feb 28th, 2017
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.16 KB | None | 0 0
  1. #[allow(unconditional_recursion)]
  2. fn main(){
  3. thread();
  4. }
  5.  
  6.  
  7. #[allow(unconditional_recursion)]
  8. fn thread(){
  9. loop {
  10. std::thread::spawn(thread);
  11. }
  12. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement