Re: freetds async usage

Tolga Ceylan <[email protected]>
Newsgroups gmane.comp.db.tds.freetds
Message-ID <CALmu+SwAPfXnWZ2K+WT6y994BOuc2TLPQvNO1ZEkMcMeVWfkjA@mail.gmail.com>
It's more of an open question, any approach/implementation is OK.

This could be via ct_poll() sort of approach or freetds could expose sockets
for the application to monitor via epoll/poll, etc.

I've got no strict requirements or any dependencies to any specific library.

In other words, I want to manage multiple connections in a single thread
where freetds API should not block.



On Mon, Nov 10, 2014 at 2:01 AM, Frediano Ziglio <[email protected]> wrote:
> 2014-11-07 21:50 GMT+00:00 Tolga Ceylan <[email protected]>:
>
>> I know this is not possible with the current code, but I was wondering
>> if anybody worked on this in the past.
>>
>> How hard would it be to add async support to freetds?
>>
>> For example, linux/epoll support?
>>
>> Cheers,
>> Tolga Ceylan
>>
>
> Hi,
>    different libraries have different ideas for async implementations. What
> do you mean by async with linux/epoll? Which library are you using?
>
> Regards,
>    Frediano
> _______________________________________________
> FreeTDS mailing list
> [email protected]
> http://lists.ibiblio.org/mailman/listinfo/freetds
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.