Forum: Ruby Proxy for object in a background process

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
02f36d0f9d518cc75ac6ee8a6644f982?d=identicon&s=25 David Holroyd (Guest)
on 2006-04-17 18:35
(Received via mailing list)
I want to use ruby-ldap in my application, but it appears that the
underlying library's use of native IO causes my Ruby threads to block
waiting for the LDAP server's response (correct me if I'm wrong there).
Since the application is doing other networking and GUI stuff at the
same time, I'd like to avoid this delay.

In looking for a solution, I saw 'detach' and 'slave' in the RAA, but
both use fork() to do their stuff.  While Linux is my primary platform,
it would be neat if my app could run on Win32 as well.

Does anyone have experience solving this problem in a portable way?


thanks!
dave
This topic is locked and can not be replied to.