ADT
arm-eh
ast-experimental
enum
forall-pointer-decay
jacob/cs343-translation
new-ast
new-ast-unique-expr
pthread-emulation
qualifiedEnum
|
Last change
on this file since 0fa04a04 was cb196f2, checked in by Thierry Delisle <tdelisle@…>, 5 years ago |
|
Added test for Ticket #170
|
-
Property mode
set to
100644
|
|
File size:
215 bytes
|
| Line | |
|---|
| 1 | #include <thread.hfa>
|
|---|
| 2 |
|
|---|
| 3 | thread Parker {};
|
|---|
| 4 | void main( Parker & ) {
|
|---|
| 5 | park( __cfaabi_dbg_ctx );
|
|---|
| 6 | }
|
|---|
| 7 |
|
|---|
| 8 | int main() {
|
|---|
| 9 | for(1000) {
|
|---|
| 10 | Parker parker;
|
|---|
| 11 | unpark( parker __cfaabi_dbg_ctx2 );
|
|---|
| 12 | }
|
|---|
| 13 | }
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.