Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1975)

Unified Diff: tests/sel_ldr/non_exit.c

Issue 10979061: Track correctly the number of secure command channel connections (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client
Patch Set: Rebased with master. Created 8 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tests/sel_ldr/nacl.scons ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/sel_ldr/non_exit.c
diff --git a/tests/fixedfeaturecpu/ff_null.c b/tests/sel_ldr/non_exit.c
similarity index 58%
copy from tests/fixedfeaturecpu/ff_null.c
copy to tests/sel_ldr/non_exit.c
index 2e4e3b4d65fad451120ea03e09246ea0ef098761..afb4ba44c715eb0b3f6dde529f66f3c780e8004b 100644
--- a/tests/fixedfeaturecpu/ff_null.c
+++ b/tests/sel_ldr/non_exit.c
@@ -4,6 +4,16 @@
* be found in the LICENSE file.
*/
+#include <stdlib.h>
+
+#include <time.h>
+#include <sys/time.h>
+#include <sys/nacl_syscalls.h>
+
int main(int argc, char* argv[]) {
+ struct timespec t = {1, 0};
+ while (1) {
+ nanosleep(&t, 0);
+ }
return 0;
}
« no previous file with comments | « tests/sel_ldr/nacl.scons ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698