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

Side by Side Diff: base/third_party/libevent/test/test-time.c

Issue 1531573008: move libevent into base (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix shim path Created 5 years 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 unified diff | Download patch
« no previous file with comments | « base/third_party/libevent/test/test-init.c ('k') | base/third_party/libevent/test/test-weof.c » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Compile with: 2 * Compile with:
3 * cc -I/usr/local/include -o time-test time-test.c -L/usr/local/lib -levent 3 * cc -I/usr/local/include -o time-test time-test.c -L/usr/local/lib -levent
4 */ 4 */
5 #ifdef HAVE_CONFIG_H 5 #ifdef HAVE_CONFIG_H
6 #include "config.h" 6 #include "config.h"
7 #endif 7 #endif
8 8
9 #ifdef WIN32 9 #ifdef WIN32
10 #include <winsock2.h> 10 #include <winsock2.h>
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 tv.tv_sec = 0; 80 tv.tv_sec = 0;
81 tv.tv_usec = rand_int(50000); 81 tv.tv_usec = rand_int(50000);
82 evtimer_add(ev[i], &tv); 82 evtimer_add(ev[i], &tv);
83 } 83 }
84 84
85 event_dispatch(); 85 event_dispatch();
86 86
87 return (called < NEVENT); 87 return (called < NEVENT);
88 } 88 }
89 89
OLDNEW
« no previous file with comments | « base/third_party/libevent/test/test-init.c ('k') | base/third_party/libevent/test/test-weof.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698