OLD | NEW |
---|---|
(Empty) | |
1 /* | |
2 * Copyright 2015 The Chromium Authors. All rights reserved. | |
3 * Use of this source code is governed by a BSD-style license that can be | |
4 * found in the LICENSE file. | |
5 */ | |
6 | |
7 /* | |
8 * In nacl_helper_nonsfi, socketpair() is unavailable. In libevent, it is used | |
9 * to notify signal handler invocation, which is unused in nacl_helper_nonsfi. | |
Mark Seaborn
2015/04/24 16:01:54
Nit: "notify of a signal handler invocation"?
hidehiko
2015/04/27 16:47:21
Done.
| |
10 * Unfortunately, there is no macro to disable the feature, so we stub out | |
11 * the signal module entirely. | |
12 */ | |
13 | |
14 struct event_base; | |
Mark Seaborn
2015/04/24 16:01:54
Nit: #include libevent/evsignal.h instead.
That w
hidehiko
2015/04/27 16:47:21
Done.
| |
15 struct event; | |
16 | |
17 struct event_base *evsignal_base = 0; | |
18 | |
19 int evsignal_init(struct event_base *base) { | |
20 return -1; | |
Mark Seaborn
2015/04/24 16:01:54
Nit: This indicates an error. Though none of the
hidehiko
2015/04/27 16:47:21
Done.
| |
21 } | |
22 | |
23 void evsignal_process(struct event_base *base) { | |
24 } | |
25 | |
26 int evsignal_add(struct event *event) { | |
27 return -1; | |
28 } | |
29 | |
30 int evsignal_del(struct event *event) { | |
31 return -1; | |
32 } | |
33 | |
34 void evsignal_dealloc(struct event_base *base) { | |
35 } | |
OLD | NEW |