From eb7b832d47bcbd74181028c62e871d407ba63a23 Mon Sep 17 00:00:00 2001 From: Alexis211 Date: Sun, 18 Oct 2009 17:50:02 +0200 Subject: More work on syscalls --- Source/Applications/SampleApps/cxxdemo.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'Source/Applications') diff --git a/Source/Applications/SampleApps/cxxdemo.cpp b/Source/Applications/SampleApps/cxxdemo.cpp index af16599..8da475a 100644 --- a/Source/Applications/SampleApps/cxxdemo.cpp +++ b/Source/Applications/SampleApps/cxxdemo.cpp @@ -1,11 +1,13 @@ #include #include -#include +#include +#include int main() { VirtualTerminal x = VirtualTerminal::get(); + Thread t = Thread::get(); for (char c = ' '; c <= 'z'; c++) { - sleep((u32int)c / 4); + t.sleep((u32int)c / 4); x.put(c); } x.put("\n"); -- cgit v1.2.3