| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2012 The Native Client Authors. All rights reserved. | 2 * Copyright 2012 The Native Client Authors. All rights reserved. |
| 3 * Use of this source code is governed by a BSD-style license that can | 3 * Use of this source code is governed by a BSD-style license that can |
| 4 * be found in the LICENSE file. | 4 * be found in the LICENSE file. |
| 5 */ | 5 */ |
| 6 | 6 |
| 7 #include <stdlib.h> |
| 8 |
| 9 #include <time.h> |
| 10 #include <sys/time.h> |
| 11 #include <sys/nacl_syscalls.h> |
| 12 |
| 7 int main(int argc, char* argv[]) { | 13 int main(int argc, char* argv[]) { |
| 14 struct timespec t = {1, 0}; |
| 15 while (1) { |
| 16 nanosleep(&t, 0); |
| 17 } |
| 8 return 0; | 18 return 0; |
| 9 } | 19 } |
| OLD | NEW |