webserver Reel uses libev for detecting I/O readiness, although it's
written in Ruby so it probably isn't much help.
libev is great for one of Reel's main use cases: websockets, and managing
large numbers of mostly-idle connections.
--
Tony Arcieri
is a library that, in my opinion, is known for one thing in
particular: excellent cross-platform abstractions that provide the same
semantics across multiple operating systems. I don't think it makes sense
to include a feature that only works on FreeBSD in libev.
--
Tony Arcieri
.
--
Tony Arcieri
___
libev mailing list
libev@lists.schmorp.de
http://lists.schmorp.de/cgi-bin/mailman/listinfo/libev
problem
and how you fixed it?
--
Tony Arcieri
___
libev mailing list
libev@lists.schmorp.de
http://lists.schmorp.de/cgi-bin/mailman/listinfo/libev
with a grain of salt ;)
Is there a better solution here? I would really love to get rid of this
patch and use an unmodified libev, but I can't figure out how to make this
work without patching libev.
--
Tony Arcieri
___
libev mailing list
libev
to granularly lock and
unlock the global interpreter lock here, but ruby-core is
characteristically reluctant to make these sorts of changes.
--
Tony Arcieri
___
libev mailing list
libev@lists.schmorp.de
http://lists.schmorp.de/cgi-bin/mailman/listinfo/libev
I've read in the documentation that inotify is supported on Linux, and all
other platforms use stat() polling. Is this still the case, and are there
plans to support additional system calls in the future?
--
Tony Arcieri
Medioh/Nagravision
___
libev
to their
own proprietary fsevents API:
http://developer.apple.com/mac/library/documentation/Darwin/Conceptual/FSEvents_ProgGuide/Introduction/Introduction.html
OS X is may main platform of interest here, if you haven't inferred that
already.
--
Tony Arcieri
Medioh/Nagravision
pattern
--
Tony Arcieri
medioh.com
___
libev mailing list
libev@lists.schmorp.de
http://lists.schmorp.de/cgi-bin/mailman/listinfo/libev
On Wed, Jun 4, 2008 at 1:36 AM, Marc Lehmann [EMAIL PROTECTED] wrote:
On Tue, Jun 03, 2008 at 04:00:40PM -0600, Tony Arcieri [EMAIL PROTECTED]
wrote:
I don't think that logic makes much sense - for files, libeio can be used,
for file descriptors supporting non-blicking operation, libev can
Also, any plans on providing a C++ interface to libeio? There's a C++
project I'm interested to integrating it into and it'd be great to have a
C++ face on it.
--
Tony Arcieri
medioh.com
___
libev mailing list
libev@lists.schmorp.de
http
install rev
If you're having trouble getting the latest version, it can be downloaded
directly at:
http://files.rubyforge.vm.bytemark.co.uk/rev/rev-0.2.2.gem
Enjoy!
--
Tony Arcieri
medioh.com
___
libev mailing list
libev@lists.schmorp.de
http
1.9's new rb_thread_blocking_region().
--
Tony Arcieri
medioh.com
___
libev mailing list
libev@lists.schmorp.de
http://lists.schmorp.de/cgi-bin/mailman/listinfo/libev
, the object it
points to is freed and a new zero size object is returned.
Darwin: If size is zero and ptr is not NULL, a new, minimum sized object is
allocated and the original object is freed.
--
Tony Arcieri
medioh.com
___
libev mailing list
libev
On Jan 9, 2008 11:08 AM, Tony Arcieri [EMAIL PROTECTED] wrote:
This is what I ended up doing in the Ruby binding. The Watcher base class
cannot be instantiated directly, instead only the subclasses can. Each
subclass implements attach and detach methods to add and remove it from a
loop
for Ruby's core socket classes
using the new Ruby 1.9 *_nonblock methods. It also provides asynchronous
DNS resolution for the purpose of making outgoing connections.
You can view the RDoc here:
http://rev.rubyforge.org/
Enjoy!
--
Tony Arcieri
ClickCaster, Inc.
[EMAIL PROTECTED
16 matches
Mail list logo