summaryrefslogtreecommitdiff
path: root/Source/Applications
diff options
context:
space:
mode:
authorAlexis211 <alexis211@gmail.com>2009-10-18 17:50:02 +0200
committerAlexis211 <alexis211@gmail.com>2009-10-18 17:50:02 +0200
commiteb7b832d47bcbd74181028c62e871d407ba63a23 (patch)
tree29489cb58898c77860fe83118ef30689e131ae2d /Source/Applications
parente589a45295a871f38d4a1d1f23b370b612f99be5 (diff)
downloadMelon-eb7b832d47bcbd74181028c62e871d407ba63a23.tar.gz
Melon-eb7b832d47bcbd74181028c62e871d407ba63a23.zip
More work on syscalls
Diffstat (limited to 'Source/Applications')
-rw-r--r--Source/Applications/SampleApps/cxxdemo.cpp6
1 files changed, 4 insertions, 2 deletions
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 <Syscall/Syscall.wtf.h>
#include <WChar.class.h>
-#include <VirtualTerminal.class.h>
+#include <Binding/VirtualTerminal.class.h>
+#include <Binding/Thread.class.h>
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");