Displaying 20 results from an estimated 141 matches for "fastthread".
2007 Nov 18
18
mongrel and fastthread on ruby 1.9?
Is anybody testing mongrel on ruby 1.9. I just tried installing
mongrel on trunk 1.9 and trunk rubygems and got this error compiling
fastthread:
/Users/stephen/dev/ruby/1.9_trunk/bin/ruby extconf.rb install mongrel --no-rdoc
creating Makefile
make
gcc -I.
-I/Users/stephen/dev/ruby/1.9_trunk/include/ruby-1.9/i686-darwin8.10.1
-I/Users/stephen/dev/ruby/1.9_trunk/include/ruby-1.9 -I. -fno-common
-g -O2 -fno-common -pipe -fno-common -c...
2006 Dec 26
7
Rubygems 0.9.0.8 and Fastthread problem
Heya Folks-
This is mainly for Zed and Mentalguy. I have been playing with the
new release of rubygems 0.9.0.8 and I have a major problem with the
requirement that fastthread needs to be required before thread. Just
requiring rubygems and then requiring fastthread right after that
will throw the error:
ez _blog $ ruby
require ''rubygems''
require ''fastthread''
__END__
/usr//lib/ruby/gems/1.8/gems/fastthread-0.5.3.1/lib/
fastthread....
2006 Dec 16
3
fastthread 0.5.3
I''ve just committed fastthread 0.5.3, which finally gives us a working
SizedQueue (which hadn''t really ever worked in previous versions).
Mostly it was just a matter of refactoring Queue and SizedQueue into a
single class behind the scenes, so I could move the signalling of the
SizedQueue-specific condition variable in...
2007 Mar 20
10
fastthread 1.0
Well, just when I thought I was out of the fastthread business...
Okay, in brief:
fastthread is a Ruby extension which re-implements the primitives in
Ruby''s thread.rb in C. It was merged into 1.8.6, replacing the old
thread.rb implementation, but the version that was merged had a couple
serious bugs.
So -- now I release fastthread 1.0, w...
2007 Jan 19
7
fastthread 0.6.2
It looks like I got too creative in 0.6.1 and consequently ran afoul of
a bug in the Ruby interpreter. 0.6.2 works around the bug and should be
entirely stable at this point.
Thanks to Young Hyun for his help in coming up with test cases.
== what?
fastthread is a Ruby library which provides a faster (and
non-memory-leaking) C implementation of the concurrency primitives from
stdlib''s thread.rb. It aims to be 100% compatible with thread.rb''s
public API.
So, how much faster? In the single-threaded case, fastthread''s version...
2007 Jan 04
5
fastthread -- what is it?
Hi,
A quick search didn''t explain what fastthread is, and how it relates
to mongrel. Why would I want to install fastthread?
Thanks,
Joe
2007 Feb 14
4
fastthread-0.6.4.1 released
== NOW
A new version of fastthread, the library providing better
implementations of the classes in thread.rb, has been released.
Please note that fastthread is only for Ruby 1.8, not JRuby or any other
Ruby implementation (most of them don''t need it anyway!).
== WHY
The existing implementation of Mutex, Queue, etc. in th...
2007 Jun 19
1
fastthread errors on Debian Etch
Hi all,
I am strangely getting errors on Debian Etch on a Intel server though
I had done an identical install of mongrel-1.0.1 on an amd64 version
of Etch.
While building fastthreads I get:
ERROR: While executing gem ... (Gem::Installer::ExtensionBuildError)
ERROR: Failed to build gem native extension.
ruby extconf.rb install mongrel
creating Makefile
make
gcc -I. -I/usr/lib/ruby/1.8/i486-linux -I/usr/lib/ruby/1.8/i486-linux
-I. -fPIC -Wall -g -fno-strict-aliasing -O2...
2007 Dec 22
12
error when installing on jruby (fastthread dependency)
I''m running jruby trunk which has integrated rubygems 1.0.0 and when
I try and install mongrel with gem it blows up when the fastthread
dependency tries to do a native compilation.
I couldn''t find a copy of the gemspec in the svn checkout but looking
at the one installed when gem installing mongrel didn''t show any
platform differentiation. There is platform differentiation in the
rake file.
It looks like the...
2006 Dec 31
3
fastthread 0.6.1
I just realized -- if fastthread can be included while Mutex-using code
is already running, then the definition and replacement of the classes
needs to happen atomically. Otherwise, it creates a race condition
where a thread can e.g. end up seeing an incompletely defined Mutex
class or none at all.
fastthread 0.6.1 addresses thi...
2007 Apr 30
5
ERROR: Failed to build gem native extension.
...my gems, but I
get the error shown:
sudo gem install mongrel
Select which gem to install for your platform (i486-linux)
1. mongrel 1.0.1 (ruby)
2. mongrel 1.0.1 (mswin32)
3. mongrel 1.0 (mswin32)
4. mongrel 1.0 (ruby)
5. Skip this gem
6. Cancel installation
> 1
Install required dependency fastthread? [Yn]
Select which gem to install for your platform (i486-linux)
1. fastthread 1.0 (ruby)
2. fastthread 1.0 (mswin32)
3. fastthread 0.6.4.1 (mswin32)
4. fastthread 0.6.4.1 (ruby)
5. Skip this gem
6. Cancel installation
> 1
Building native extensions. This could take a while...
ERROR: Whi...
2007 Mar 14
3
Fastthread memory leak?
...xtensive use of Mutex and was concerned about the
memory leak I have read about. I saw some sample code to reproduce the
problem here: http://pastie.caboo.se/10194
So I thought I would run it myself to see the problem.
I do not see a memory leak when using the sample code, but if I require
"fastthread" before "thread" using fastthread (0.6.4.1) then I see the app
bleeding memory.
Here is the output from that program linked above (with time added in):
Using require "thread"
Max memory: 76.1 mb - climbed then stabilised after first "waiting" message
Output:
Sta...
2008 Jan 02
20
fastthread no longer needed?
I''m confused. Wasn''t threading fixed in 1.8.6, negating the need for
fastthread? Why is fastthread still a requirement of Mongrel? Just
curious. :)
2006 Dec 01
1
no more wedged mongrels with fastthread
With Mongrel 0.3.18, I have not seen a single one of the hangs that I
have been grousing about for the past N weeks.
Thanks MenTaLguY and Zed!
Q: Mongrel loads fastthread, Mongrel loads Rails, Rails loads OCI8,
OCI8 requires ''thread''. That means OCI8 is using fastthread too,
right?
Steve
2006 Nov 23
0
fastthread 0.4
fastthread is a library which replaces the synchronization primitives
defined in stdlib?s thread.rb (Mutex, ConditionVariable, Queue, and
SizedQueue) with optimized versions which:
* are much faster (in the non-contention case, speed comparable to
direct use of Thread.critical or Thread.exclusi...
2007 Apr 28
1
backgroundrb and fastthread
I was just curious if anyone noticed any significant performance
improvements using fastthread (or Ruby 1.8.6) with BackgrounDRb
Brandon
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: This is a digitally signed message part
Url : http://rubyforge.org/pipermail/backgroundrb-devel/attachments/20...
2006 Dec 26
0
[PATCH] Fastthread 0.5.3.1 with merb edge (124)
I checked out the latest merb ''trunk'' and after installing it as a gem...
(fresh install)
I got the dreaded "fastthread not loaded: fastthread must be required before
thread" error when starting up an instance of merb. Even without dRB.
So I patched the merb.rb file to include fastthread before anything else if
it''s installed.
Check it.
Merry Christmas!
-rjs-
-------------- next part --------------...
2007 Mar 14
1
ruby 1.8.6 includes fastthread?
It looks like fastthread was rolled into 1.8.6:
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/tags/v1_8_6/NEWS?revision=12055&view=markup
Does that mean once we upgrade to 186 we can forget about rubygem version?
- Rob
2006 Nov 28
1
Mongrel, Mutex and FastThread results for win32.
Hello Guys,
Been testing fastthread (known on previous releases as
optimized_locking) for soon to be released 0.3.18 mswin32 gems
(official ones).
Attached to this message is the ruby script I used for the test
results shown on graphics [1] and [2]
The idea of the script is simulate what Mongrel do with threads
creating a simple wo...
2007 Nov 23
6
Fresh install on Debian Etch - Mongrel immediately hangs
Hi,
I just did a clean install of
Ruby 1.8.5
Rubygems 0.9.0
and the Mongrel and Mongrel_Cluster gems.
I used only the Debian Etch package manager, nothing compiled myself.
Now, on a testapp when I do a script/server, I get the:
** Ruby version is not up-to-date; loading cgi_multipart_eof_fix
warning. But it''s not serving my app. Ruby is immediately on 100% CPU
load (and 0.7%