Skip to content

Instantly share code, notes, and snippets.

@azenla
Last active December 18, 2015 10:49
Show Gist options
  • Save azenla/5770995 to your computer and use it in GitHub Desktop.
Save azenla/5770995 to your computer and use it in GitHub Desktop.
Groovy PowerThread
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