Last active
December 18, 2015 10:49
-
-
Save azenla/5770995 to your computer and use it in GitHub Desktop.
Groovy PowerThread
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
package jpower.thread.test | |
import jpower.thread.WorkerThread | |
def testMethod = { | |
println("Test Thread Method Invoked!") | |
} | |
WorkerThread thread = new WorkerThread(testMethod) | |
Thread javaThread = thread.execute() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment