Skip to content
Snippets Groups Projects
Commit 5ef51949 authored by klempner's avatar klempner Committed by Nicolas Noble
Browse files

Make em destroy underlying descriptor objects (and their corresponding libevent

objects and closing the actual fd) asynchronously in the poller thread where
they won't race with libevent internals while polling.

This requires splitting the actual descriptor data from the application owned
handle, because the former needs to have a longer lifetime.

This CL also hacks dualstack_socket_test which is legitimately sensitive to the
delayed close of the listening socket.
	Change on 2014/12/08 by klempner <klempner@google.com>
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=81603300
parent 493fbcc2
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment