| 181 | ////////////////////////////////////////////////////////////////////////// |
| 182 | |
| 183 | void master_aio::service_pre_jail(void* ctx) |
| 184 | { |
| 185 | master_aio* ma = (master_aio *) ctx; |
| 186 | acl_assert(ma != NULL); |
| 187 | |
| 188 | #ifndef ACL_WINDOWS |
| 189 | if (ma->daemon_mode_) { |
| 190 | acl_assert(ma->handle_ == NULL); |
| 191 | |
| 192 | ACL_EVENT* eventp = acl_aio_server_event(); |
| 193 | ma->set_event(eventp); |
| 194 | |
| 195 | ACL_AIO *aio = acl_aio_server_handle(); |
| 196 | acl_assert(aio); |
| 197 | ma->handle_ = NEW aio_handle(aio); |
| 198 | } |
| 199 | #endif |
| 200 | |
| 201 | ma->proc_pre_jail(); |
| 202 | } |
| 203 | |
| 204 | void master_aio::service_init(void* ctx) |
| 205 | { |
nothing calls this directly
no test coverage detected