Lines Matching defs:channel
9 #include <dispatcher-pool/dispatcher-channel.h>
27 zx_status_t Channel::Activate(zx::channel* client_channel_out,
38 // Create the channel endpoints.
39 zx::channel channel;
42 res = zx::channel::create(0u, &channel, client_channel_out);
47 res = Activate(fbl::move(channel),
52 // If something went wrong, make sure we close the channel endpoint we were
60 zx_status_t Channel::Activate(zx::channel channel,
64 // In order to activate, the supplied execution domain and channel, and
67 if ((domain == nullptr) || !channel.is_valid() || (process_handler == nullptr))
76 ret = ActivateLocked(fbl::move(channel), fbl::move(domain));
114 zx_status_t Channel::ActivateLocked(zx::channel channel, fbl::RefPtr<ExecutionDomain> domain) {
115 ZX_DEBUG_ASSERT((domain != nullptr) && channel.is_valid());
117 // Take ownership of the channel resource and execution domain reference.
118 zx_status_t res = EventSource::ActivateLocked(fbl::move(channel), fbl::move(domain));
142 // Process all of the pending messages in the channel before re-joining
147 // single channel for a single client.
160 // If the other side has closed our channel, or there was an error during
178 // the channel, make sure that we have released our handle and our