diff src/ploki/hang.c @ 4223:ac0403686959

<oerjan> rm -rf src/ploki; mv ploki src
author HackBot
date Fri, 20 Dec 2013 22:18:50 +0000
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/ploki/hang.c	Fri Dec 20 22:18:50 2013 +0000
@@ -0,0 +1,12 @@
+#include "config.h"
+#include "hang.h"
+
+#if HAVE_SLEEP_P
+	#include SLEEP_HEADER
+#endif
+
+void hang(void) {
+	for (;;) {
+		DO_SLEEP;
+	}
+}