From: Aaron Patterson Date: 2010-09-27T10:56:46+09:00 Subject: Re: Ruby/DL loaded shared libraries are blocking? --7iMSBzlTiPOCCT2k Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Sep 24, 2010 at 07:05:35AM +0900, PierreW wrote: > Hi guys, >=20 > I am using Ruby/DL (dl/import) to load a dynamic library. It seems > that when I call a function of this library from Ruby, it is blocking. > Is it "normal", or am I doing something wrong? Is it possible to make > it non-blocking? If I'm understanding you correctly, then yes. This is normal. It should block until the C function returns. --=20 Aaron Patterson http://tenderlovemaking.com/ --7iMSBzlTiPOCCT2k Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (Darwin) iQEcBAEBAgAGBQJMn/nZAAoJEJUxcLy0/6/Gtq8IAKQDJ0jxo6vtTr3uHYDQYb5t /Es9ZhjTJgDGySMPy/RKLgjFxS/h7/oFtxUpErQONqyOqne3ZIbYwIHbqZ1vz6AZ sophnm0toUYs0turaL/0fYVY4YFL8Qb+AgAYlC0JIBql/lMl/Crh3Y3qBFB395pg By4hQAsDGf3FPPwRqXh+t8zhQyFNSzlkH9cqkoZgFL87ZJ5VUGX7jHtnlTmaATMG tMDiov1UTgdmMXE9LZRDHaVXCxlsFBzVtk8NcVMfiPAgO8eNp7PvAAN61682E9JS 2EExEThl8+lMTPKTXmg5kKGsDkZSxn/1qiSnu/Mg5bhNZSgRUpcacrf1UwEfX+4= =m1K/ -----END PGP SIGNATURE----- --7iMSBzlTiPOCCT2k--