This language bar is your friend. Select your favorite languages!

Idiom #45 Pause execution for 5 seconds

Sleep for 5 seconds in current thread, before proceeding with next instructions.

Illustration
#Edit dateEdit SummaryEditor
👁 Δ 39 2017-01-03, 11:11 [Elixir] The previous code was using Erlang library, this new one is using Elixir module slashmili
👁 Δ 38 2017-01-01, 22:02 [C] Fixed comment "man 1 usleep" -> "man 3 usleep" programming-idioms.org
👁 Δ 37 2016-12-30, 00:28 [C] fixed error bk1
👁 Δ 36 2016-11-30, 22:14 [Elixir] No need for sample context programming-idioms.org
👁 Δ 35 2016-09-22, 15:19 Updated picture URL by user [programming-idioms.org] programming-idioms.org
👁 Δ 34 2016-02-18, 17:23 Restored version 32
👁 Δ 33 2016-02-18, 16:57 New Clojure implementation by user [pgon101a]
👁 Δ 32 2016-02-17, 13:44 New Clojure implementation by user [pgon101a]
👁 Δ 31 2016-02-16, 21:40 New Scala implementation by user [meshelton]
👁 Δ 30 2016-02-16, 17:59 New Cpp implementation by user [GhassanPL]
👁 Δ 29 2016-02-16, 17:45 New Csharp implementation by user [zehberk]
👁 Δ 28 2016-02-16, 16:55 New Ada implementation by user [Smaehtin]
👁 Δ 27 2016-02-16, 16:03 New Lua implementation by user [jparoz]
👁 Δ 26 2015-11-30, 12:37
👁 Δ 25 2015-10-29, 14:05
👁 Δ 24 2015-10-27, 03:06
👁 Δ 23 2015-10-21, 12:12
👁 Δ 22 2015-09-04, 13:29
👁 Δ 21 2015-09-04, 13:28
👁 Δ 20 2015-09-03, 21:28
👁 Δ 19 2015-09-03, 15:17
👁 Δ 18 2015-09-03, 13:55
👁 Δ 17 2015-08-25, 20:15
👁 Δ 16 2015-08-25, 20:14
👁 Δ 15 2015-08-25, 20:13
👁 Δ 14 2015-08-23, 10:11
👁 Δ 13 2015-08-23, 10:10
👁 Δ 12 2015-08-23, 10:10
👁 Δ 11 2015-08-23, 08:17
👁 Δ 10 2015-08-21, 23:21
👁 Δ 9 2015-08-21, 09:39
👁 Δ 8 2015-08-21, 09:14
👁 Δ 7 2015-08-20, 18:20
👁 Δ 6 2015-08-20, 17:09
👁 Δ 5 2015-08-20, 10:50
👁 Δ 4 2015-08-20, 10:49
👁 Δ 3 2015-08-19, 15:22
👁 Δ 2 2015-07-31, 19:53
1 2015-05-06, 21:04