Commit 75fa6665 authored by lahiker42's avatar lahiker42

reentrance guard fix


git-svn-id: https://protobuf-c.googlecode.com/svn/trunk@288 00440858-1255-0410-a3e6-75ea37f81c3a
parent 16b1297c
......@@ -137,6 +137,7 @@ struct _RealDispatch
FDMapNode *fd_map_tree; /* map indexed by fd */
#endif
protobuf_c_boolean is_dispatching;
ProtobufCDispatchTimer *timer_tree;
ProtobufCAllocator *allocator;
......@@ -234,6 +235,7 @@ ProtobufCDispatch *protobuf_c_dispatch_new (ProtobufCAllocator *allocator)
rv->first_idle = rv->last_idle = NULL;
rv->recycled_idles = NULL;
rv->recycled_timeouts = NULL;
rv->is_dispatching = 0;
/* need to handle SIGPIPE more gracefully than default */
signal (SIGPIPE, SIG_IGN);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment