Displaying 8 results from an estimated 8 matches for "conditionvariables".
Did you mean:
conditionvariable
2006 Aug 24
3
A new QueueWorker class
Hello all,
I''ve come up w/ a worker class that manages queued jobs using a fixed
number of child workers. Well, that''s not quite true -- a new worker is
spawned for each job, but you set the total number that may exist at once.
There are three components:
1) queue_worker.rb: The singleton worker that manages the child workers.
You probably want to auto start this. Make sure you
2007 Jan 26
0
fastthread-0.6.3
Quick note!
fastthread 0.6.3 has been released to address a minor compatibility
issue with ConditionVariable -- as with the original thread.rb,
ConditionVariable can now be used with any mutex class implementing
Mutex''s public interface.
As before, gem and tarball available from RubyForge courtesy of the
Mongrel project:
http://rubyforge.org/frs/?group_id=1306
-mental
--------------
2006 Sep 14
1
Status of your worker pool
...esen
> www.stellar-legends.de - Weltraum-Browsergame im Alpha-Stadium
Hey Michael-
Yeah I do have a beta here. It is working very well. What I did to
make it easier to refactor was to grab an older version. One that
didn''t have any of the Timing stuff or the Threading stuff for
ConditionVariables and all that. Once I got it down to its basic
format, I was able to write a nice ThreadPool class and then use that
in the MiddleMan. So it is way cleaner now. the middleman holds a
thread pool and does all the thread management so the workers don''t
have to. It made the code smalle...
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.exclusive)
* don?t leak memory (the stdlib implementation of Mutex manages to
2006 Jun 28
1
How to add some process control...
Hi,
First off, thanks Ezra for showing the way with BackgrounDrb. It''s a
real godsend.
I wanted to add a bit of job control to the system so that I could
cancel DRB processes and so on. I thought I''d share how I did it in case
anyone should find it useful or have feedback.
I wanted to be able to put checkpoints into the drb job so that I could
let the job do whatever needs to
2017 Jan 05
1
[Bug 99282] New: KDE kontact crashes always
https://bugs.freedesktop.org/show_bug.cgi?id=99282
Bug ID: 99282
Summary: KDE kontact crashes always
Product: Mesa
Version: unspecified
Hardware: x86-64 (AMD64)
OS: Linux (All)
Status: NEW
Severity: critical
Priority: medium
Component: Drivers/DRI/nouveau
Assignee: nouveau at
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, which is basically the Ruby 1.8.6
version with
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