Skip to content

Instantly share code, notes, and snippets.

@andersgoransson
Created November 23, 2012 02:31
Show Gist options
  • Save andersgoransson/4133770 to your computer and use it in GitHub Desktop.
Save andersgoransson/4133770 to your computer and use it in GitHub Desktop.
Starting a Java Thread
public class MyThread extends Thread {
@Override
public void run() {
// Do background task
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment