}
talloc_set_destructor(ctx, fncall_context_destructor);
- ctx->sig_fd = pthreadpool_sig_fd(ctx->pool);
+ ctx->sig_fd = pthreadpool_signal_fd(ctx->pool);
if (ctx->sig_fd == -1) {
TALLOC_FREE(ctx);
return NULL;
* @brief Get the signalling fd from a pthreadpool
*
* Completion of a job is indicated by readability of the fd retuned
- * by pthreadpool_sig_fd().
+ * by pthreadpool_signal_fd().
*
* @param[in] pool The pool in question
* @return The fd to listen on for readability
*/
-int pthreadpool_sig_fd(struct pthreadpool *pool);
+int pthreadpool_signal_fd(struct pthreadpool *pool);
/**
* @brief Get the job_id of a finished job
*
* This blocks until a job has finished unless the fd returned by
- * pthreadpool_sig_fd() is readable.
+ * pthreadpool_signal_fd() is readable.
*
* @param[in] pool The pool to query for finished jobs
* @return The job_id of the finished job
return -1;
}
- pfd.fd = pthreadpool_sig_fd(p);
+ pfd.fd = pthreadpool_signal_fd(p);
pfd.events = POLLIN|POLLERR;
poll(&pfd, 1, -1);
strerror(ret));
return -1;
}
- pfds[i].fd = pthreadpool_sig_fd(pools[i]);
+ pfds[i].fd = pthreadpool_signal_fd(pools[i]);
pfds[i].events = POLLIN|POLLHUP;
}