From: gm@... (George Moschovitis) Date: 2004-08-16T15:36:01+09:00 Subject: FastCGI and threads Somewhat related to the earlier post: Some time ago another ruby user tried UNSUCCESSFULLY the following code: FCGI.each do |fcgi| Thread.new(fcgi) { |f| f.out.print "Content-type: text/html\r\n\r\n" f.out.print f.out.type, "
\n" ... } end matz replied: fcgi is not thread-safe. Unlike other IO facilities, it does not try to avoid IO blocking. I'll make fcgi thread-safe soon (or I hope someone voluneer to update it). Is fcgi thread safe now ? Can code like this work with fcgi? thanks in advance, George Moschovitis