diff options
author | Joachim Bauch <mail@joachim-bauch.de> | 2011-08-04 23:39:15 +0200 |
---|---|---|
committer | Joachim Bauch <mail@joachim-bauch.de> | 2011-08-09 23:08:54 +0200 |
commit | 26041a8ed86be8101573daf57c62c7806be7db08 (patch) | |
tree | 9b5a27e5d516e91a317dc85362fdb50d712dc5e5 /evbuffer-internal.h | |
parent | 9d7368ae2db526ad678f9aa332c21b2f2b1d8493 (diff) | |
download | libevent-26041a8ed86be8101573daf57c62c7806be7db08.tar.gz |
prevent nested multicast references, reworked locking
Diffstat (limited to 'evbuffer-internal.h')
-rw-r--r-- | evbuffer-internal.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/evbuffer-internal.h b/evbuffer-internal.h index 75d026d3..1d67973f 100644 --- a/evbuffer-internal.h +++ b/evbuffer-internal.h @@ -248,9 +248,8 @@ struct evbuffer_file_segment { /** Information about the multicast parent of a chain. Lives at the * end of an evbuffer_chain with the EVBUFFER_MULTICAST flag set. */ struct evbuffer_multicast_parent { -#ifndef _EVENT_DISABLE_THREAD_SUPPORT - void *lock; /**< lock prevent concurrent access to the parent */ -#endif + /** source buffer the multicast parent belongs to */ + struct evbuffer *source; /** multicast parent for this chain */ struct evbuffer_chain *parent; }; |