Ignore:
Timestamp:
Jan 19, 2017, 4:04:38 PM (5 years ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
aaron-thesis, arm-eh, cleanup-dtors, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, resolv-new, with_gc
Children:
bd98b58
Parents:
8f49a54
Message:

Some more cleaning and commenting the kernel

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/examples/thread.c

    r8f49a54 rdcb42b8  
    2929int main(int argc, char* argv[]) {
    3030
    31         unsigned itterations = 10;
     31        unsigned itterations = 10u;
    3232        if(argc == 2) {
    3333                int val = ato(argv[1]);
     
    3939
    4040        {
    41                 thread(MyThread) thread1 = { (unsigned)1, itterations };
    42                 thread(MyThread) thread2 = { (unsigned)2, itterations };
     41                thread(MyThread) thread1 = { 1u, itterations };
     42                thread(MyThread) thread2 = { 2u, itterations };
    4343        }
    4444
Note: See TracChangeset for help on using the changeset viewer.