diff options
author | Alexis211 <alexis211@gmail.com> | 2009-10-18 17:50:02 +0200 |
---|---|---|
committer | Alexis211 <alexis211@gmail.com> | 2009-10-18 17:50:02 +0200 |
commit | eb7b832d47bcbd74181028c62e871d407ba63a23 (patch) | |
tree | 29489cb58898c77860fe83118ef30689e131ae2d /Source/Applications | |
parent | e589a45295a871f38d4a1d1f23b370b612f99be5 (diff) | |
download | Melon-eb7b832d47bcbd74181028c62e871d407ba63a23.tar.gz Melon-eb7b832d47bcbd74181028c62e871d407ba63a23.zip |
More work on syscalls
Diffstat (limited to 'Source/Applications')
-rw-r--r-- | Source/Applications/SampleApps/cxxdemo.cpp | 6 |
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"); |