Skip to content

Instantly share code, notes, and snippets.

@drankard
Created September 3, 2012 18:01
Show Gist options
  • Save drankard/3611467 to your computer and use it in GitHub Desktop.
Save drankard/3611467 to your computer and use it in GitHub Desktop.
if you ever need a Thread/sleep xx
I tried running (Thread/sleep 1000) on my VM os.. which returned randomly between 5 30 seconds..
to be sure..:
(let [o (Object.)] (locking o (. o wait 1000)))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment