Ignore:
Timestamp:
Mar 23, 2017, 3:05:36 PM (5 years ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
aaron-thesis, arm-eh, cleanup-dtors, deferred_resn, demangler, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, resolv-new, with_gc
Children:
ae6f1ec
Parents:
bcda04c
Message:

Implemented thread keyword

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/tests/monitor.c

    rbcda04c rbd4d011  
    2626}
    2727
    28 struct MyThread { thread_desc __thrd; };
    29 
    30 DECL_THREAD(MyThread);
    31 
    32 void ?{}( MyThread * this ) {}
    33 void ^?{}( MyThread * mutex this ) {}
     28thread MyThread {};
    3429
    3530void main( MyThread* this ) {
     
    4338        processor p;
    4439        {
    45                 scoped(MyThread) f[4];
     40                MyThread f[4];
    4641        }
    4742        sout | global.value | endl;
Note: See TracChangeset for help on using the changeset viewer.