Subject: What purpose does libssh2_poll() fill? (fwd)

What purpose does libssh2_poll() fill? (fwd)

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 13 Apr 2009 20:10:55 +0200 (CEST)

Hey

This is just repost to make sure everyone had a chance to read this and
respond. If nobody objects, I'll proceed and mark these functions as
deprecated and add them to the list of functions to remove at the next soname
bump etc.

---------- Forwarded message ----------

As I just wrote in bug report #2141548:

libssh2_poll() seems to be fundamentally flawed.

I suggest we just call it deprecated and tell people to use poll() instead!

Can you (or anyone else) provide a use case where the normal poll() or
select() isn't good enough or better?

libssh2_poll_channel_read() is another function I don't understand why we
provide in the API...

-- 
   / daniel.haxx.se
------------------------------------------------------------------------------
_______________________________________________
libssh2-devel mailing list
libssh2-devel_at_lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libssh2-devel
------------------------------------------------------------------------------
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
_______________________________________________
libssh2-devel mailing list
libssh2-devel_at_lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libssh2-devel
Received on 2009-04-13