Changeset dcb42b8 for src/examples/thread.c
- Timestamp:
- Jan 19, 2017, 4:04:38 PM (8 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, ast-experimental, 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, pthread-emulation, qualifiedEnum, resolv-new, with_gc
- Children:
- bd98b58
- Parents:
- 8f49a54
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/examples/thread.c
r8f49a54 rdcb42b8 29 29 int main(int argc, char* argv[]) { 30 30 31 unsigned itterations = 10 ;31 unsigned itterations = 10u; 32 32 if(argc == 2) { 33 33 int val = ato(argv[1]); … … 39 39 40 40 { 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 }; 43 43 } 44 44
Note: See TracChangeset
for help on using the changeset viewer.