Implement (MSEC) using usleep() (#125)
[debian/pforth] / csrc / pf_inner.c
index b23974d6747968a83b56ac1cff1d20e6903435b1..b7c8ae156af3dd213c4af109b86dc4020e580cde 100644 (file)
@@ -1635,6 +1635,10 @@ DBUG(("XX ah,m,l = 0x%8x,%8x,%8x - qh,l = 0x%8x,%8x\n", ah,am,al, qh,ql ));
             endcase;
 #endif
 
+        case ID_SLEEP_P:
+            TOS = sdSleepMillis(TOS);
+            endcase;
+
         case ID_SP_FETCH:    /* ( -- sp , address of top of stack, sorta ) */
             PUSH_TOS;
             TOS = (cell_t)STKPTR;