Lines Matching refs:thread
15 network. `DnsTlsDispatcher` also blocks each query thread, waiting on a
20 `DnsTlsSocket`, which happen on a different thread.
37 For clarity, each of the five classes in this design is thread-safe and holds one lock.
38 Classes that spawn a helper thread call `thread::join()` in their destructor to ensure
41 All the classes here make full use of Clang thread annotations (and also null-pointer
45 This code creates O(1) threads per socket, and does not create a new thread for each
46 query or response. However, DnsProxyListener does create a thread for each query.
50 `DnsTlsSocket` can receive queries on any thread, and send them over a
53 from its thread, and the loop thread (which owns the SSL socket)
55 instead, any queueing happens by blocking the query thread until the
56 socket thread can read the datagram off the other end.
59 or a thread-safe queue, because the socket thread has to be blocked
63 (There can only be a single thread because [you can't use different threads