Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Curl multi wait #40

Closed
wants to merge 3 commits into
from

Conversation

Projects
None yet
2 participants
Contributor

sgolemon commented Aug 27, 2012

As discussed on my previous pull request.
Going for a simple API for polling on a multi handle and additional arbitrary handles.

sgolemon added some commits Aug 27, 2012

@sgolemon sgolemon Add curl_multi_wait() function.
/*
 * Name:     curl_multi_wait()
 *
 * Desc:     Poll on all fds within a CURLM set as well as any
 *           additional fds passed to the function.
 *
 * Returns:  CURLMcode type, general multi error code.
 */
CURL_EXTERN CURLMcode curl_multi_wait(CURLM *multi_handle,
                                      struct curl_waitfd extra_fds[],
                                      unsigned int extra_nfds,
                                      int timeout_ms);
6f2ce1e
@sgolemon sgolemon Manpage for curl_multi_wait(). 6685c2b
@sgolemon sgolemon Unit test for curl_multi_wait() ee96e90
Owner

bagder commented Sep 17, 2012

merged!

@bagder bagder closed this Sep 17, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment