diff options
author | Nick Mathewson <nickm@torproject.org> | 2010-09-08 14:12:12 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2010-09-08 14:12:12 -0400 |
commit | 3658b1696df8784b156cc6643a36f7cfa69e0213 (patch) | |
tree | 31c111e2f9f7a6e3b6aef0952f4b23e57d21b5d2 /event-internal.h | |
parent | 9580e282d7e5801802e935956902a1948525d474 (diff) | |
parent | 17a14f1af2ace0201baa1b5bbba031296e62d879 (diff) | |
download | libevent-3658b1696df8784b156cc6643a36f7cfa69e0213.tar.gz |
Merge remote branch 'chrisd/iocp-fixes4'
Conflicts:
test/regress_thread.c
Diffstat (limited to 'event-internal.h')
-rw-r--r-- | event-internal.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/event-internal.h b/event-internal.h index 122195b3..0f891657 100644 --- a/event-internal.h +++ b/event-internal.h @@ -182,6 +182,8 @@ struct event_base { /** Data to implement the common signal handelr code. */ struct evsig_info sig; + /** Number of virtual events */ + int virtual_event_count; /** Number of total events added to this event_base */ int event_count; /** Number of total events active in this event_base */ @@ -286,6 +288,7 @@ struct event_config_entry { struct event_config { TAILQ_HEAD(event_configq, event_config_entry) entries; + int n_cpus_hint; enum event_method_feature require_features; enum event_base_config_flag flags; }; @@ -316,6 +319,10 @@ int _evsig_restore_handler(struct event_base *base, int evsignal); void event_active_nolock(struct event *ev, int res, short count); +/* FIXME document. */ +void event_base_add_virtual(struct event_base *base); +void event_base_del_virtual(struct event_base *base); + #ifdef __cplusplus } #endif |