Second Round CURL Wrapper Review

David Nadlinger see at klickverbot.at
Mon Dec 12 16:47:53 PST 2011


On 12/12/11 1:18 PM, jdrewsen wrote:
> On Monday, 12 December 2011 at 10:26:52 UTC, Somedude wrote:
>> Just an idea: would it be possible/useful to use the signals/slots
>> mechanism for this kind of synch ?
>
> This would be most useful if there were some kind of main loop. This is
> needed because the request is done in another thread and the response
> should be handled in the main thread. Without an main loop in the main
> thread or a destinct call to e.g. a poll() method the signal/slot s
> would not work.

I don't know if you already have a solution in the works, but maybe the 
future interface I did for Thrift is similar to what you are looking 
for: http://klickverbot.at/code/gsoc/thrift/docs/thrift.util.future.html

David


More information about the Digitalmars-d mailing list