Changes in src/tests/thread.c [348006f:cb0e6de]
- File:
-
- 1 edited
-
src/tests/thread.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/tests/thread.c
r348006f rcb0e6de 4 4 #include <thread> 5 5 6 struct First { thread_desc t; signal_once* lock; };7 struct Second { thread_desc t; signal_once* lock; };6 struct First { thread_desc __thrd; signal_once* lock; }; 7 struct Second { thread_desc __thrd; signal_once* lock; }; 8 8 9 9 DECL_THREAD(First); … … 12 12 void ?{}( First * this, signal_once* lock ) { this->lock = lock; } 13 13 void ?{}( Second * this, signal_once* lock ) { this->lock = lock; } 14 15 void ^?{}( First * mutex this ) {} 16 void ^?{}( Second * mutex this ) {} 14 17 15 18 void main(First* this) {
Note:
See TracChangeset
for help on using the changeset viewer.