Skip to content

Instantly share code, notes, and snippets.

@titimoby
Created April 17, 2013 19:56
Show Gist options
  • Save titimoby/5407254 to your computer and use it in GitHub Desktop.
Save titimoby/5407254 to your computer and use it in GitHub Desktop.
Why ? titimoby@alarmpi PiG]$ gologolo sleep.golo first Exception in thread "main" java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorIm…
module snippet.sleep
import java.lang.Thread
function main = |args| {
println("first")
Thread.sleep(500)
println("second")
}
@k33g
Copy link

k33g commented Apr 17, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment