Re: soup session in separate thread



On 01/20/2010 07:04 AM, zaheer ahmad wrote:
> hi all,
> Is there an example that demonstrates how we can use the soup session in
> a separate thread. i would expect some api where we can set the
> GMainContext for that session..I could not find any help in my search.

Set the async-context property on the SoupSession. tests/context-test.c
in the libsoup source tree gives a (somewhat complicated) example.

-- Dan


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]