-
-
Save ztirom/dbd2805d5287630ecc67a46ca4c33c5d to your computer and use it in GitHub Desktop.
Thread Methods
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public static void fast() | |
{ | |
info('T2: Fast - started second!'); | |
} | |
public static void slow() | |
{ | |
sleep(15000); | |
info('T1: Slow, blocking - was started first!'); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment