Threads in Groovy
def stringOne = ‘Hello, ‘; def stringTwo = ‘World!’; Thread.start{sleep(500); println stringTwo} Thread.start{sleep(1000); print stringOne} Ref. http://dustinwhitney.blogspot.com/2008/03/groovy-threads.html http://groovy.codehaus.org/groovy-jdk/java/lang/Thread.html http://chrisbroadfoot.id.au/articles/2008/08/06/groovy-threads Related Blogs
