OLD | NEW |
1 // Copyright (c) 2015, the Fletch project authors. Please see the AUTHORS file | 1 // Copyright (c) 2015, the Dartino project authors. Please see the AUTHORS file |
2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
3 // BSD-style license that can be found in the LICENSE.md file. | 3 // BSD-style license that can be found in the LICENSE.md file. |
4 | 4 |
5 #include "todomvc_shared.h" // NOLINT(build/include) | 5 #include "todomvc_shared.h" // NOLINT(build/include) |
6 | 6 |
7 #include <pthread.h> | 7 #include <pthread.h> |
8 #include <stdio.h> | 8 #include <stdio.h> |
9 #include <stdlib.h> | 9 #include <stdlib.h> |
10 | 10 |
11 #include "include/fletch_api.h" | 11 #include "include/fletch_api.h" |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
52 pthread_mutex_init(&mutex, NULL); | 52 pthread_mutex_init(&mutex, NULL); |
53 pthread_cond_init(&cond, NULL); | 53 pthread_cond_init(&cond, NULL); |
54 ServiceApiSetup(); | 54 ServiceApiSetup(); |
55 RunSnapshotInNewThread(argv[1]); | 55 RunSnapshotInNewThread(argv[1]); |
56 } | 56 } |
57 | 57 |
58 void TearDownTodoMVC() { | 58 void TearDownTodoMVC() { |
59 WaitForStatus(kDone); | 59 WaitForStatus(kDone); |
60 ServiceApiTearDown(); | 60 ServiceApiTearDown(); |
61 } | 61 } |
OLD | NEW |