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

Side by Side Diff: base/third_party/libevent/sample/signal-test.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
OLDNEW
1 /* 1 /*
2 * Compile with: 2 * Compile with:
3 * cc -I/usr/local/include -o signal-test \ 3 * cc -I/usr/local/include -o signal-test \
4 * signal-test.c -L/usr/local/lib -levent 4 * signal-test.c -L/usr/local/lib -levent
5 */ 5 */
6 6
7 #include <sys/types.h> 7 #include <sys/types.h>
8 8
9 #ifdef HAVE_CONFIG_H 9 #ifdef HAVE_CONFIG_H
10 #include "config.h" 10 #include "config.h"
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 event_base_set(base, &signal_int); 56 event_base_set(base, &signal_int);
57 57
58 event_add(&signal_int, NULL); 58 event_add(&signal_int, NULL);
59 59
60 event_base_dispatch(base); 60 event_base_dispatch(base);
61 event_base_free(base); 61 event_base_free(base);
62 62
63 return (0); 63 return (0);
64 } 64 }
65 65
OLDNEW
« no previous file with comments | « base/third_party/libevent/sample/event-test.c ('k') | base/third_party/libevent/sample/time-test.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698