Did I find the right examples for you? yes no

All Samples(5)  |  Call(4)  |  Derive(0)  |  Import(1)

src/c/i/ciel-HEAD/src/python/ciel/runtime/pycurl_rpc.py   ciel(Download)
def post_string_noreturn(url, postdata, result_callback=None):
    ciel.runtime.pycurl_thread.do_from_curl_thread(lambda: _post_string_noreturn(url, postdata, result_callback))
 
# Called from cURL thread
def _post_string(url, postdata):

src/c/i/ciel-HEAD/src/python/ciel/runtime/pycurl_data_fetch.py   ciel(Download)
# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
from ciel.runtime.pycurl_thread import pycURLContext, do_from_curl_thread
from ciel.runtime.block_store import get_fetch_urls_for_ref, create_fetch_file_for_ref, get_own_netloc
from ciel.public.references import SW2_ConcreteReference, SW2_FetchReference
    def advertisment(self, *pargs, **kwargs):
        do_from_curl_thread(lambda: self._advertisment(*pargs, **kwargs))
 
# Represents pycURL doing a fetch, with potentially many clients listening to the results.
class pycURLFetchInProgress:
    def start(self):
        do_from_curl_thread(lambda: self._start())
 
    def _unsubscribe(self):
        self.fetch.unsubscribe(self.fetch_client)
 
    def unsubscribe(self, fetcher):
        do_from_curl_thread(lambda: self._unsubscribe())