From: Simon Strandgaard <0bz63fz3m1qt3001@...> Date: 2003-05-18T22:50:13+09:00 Subject: Re: C Extensions blocking all ruby threads On Sun, 18 May 2003 12:55:51 +0900, Florian G. Pflug wrote: > Of course one solutions would be to fix those extensions (if it's possible - > I don't know if there is a non-blocking api to mysql). But I though, that > maybe ruby could replace the read() and write() functions of the libc with > something that respects other ruby threads (by using a rb_thread_select > loop) before loading c-extensions. I cannot distinguish if you are talking about mysql only problem ? or a general problem with extensions ? if this is mysql only, then why not propose it to the maintainer of the mysql ruby extension ? -- Simon Strandgaard