Results 1-25 of about 4,013 results found for 'thread' in 0.23 seconds
 1 2345678910...

forum.rb
module FORUM
  #Supporting exception class
  #used to terminate threads
  class ThreadExit < Exception
  end
Language: Ruby
License: GPL
(C) 2002, 2003 Free Software Foundation, Inc.
LOC: 25
Savannah GNU : DotGNU Forum System (project search) : .../dotgnu-forum/dotgnu-forum/forumserver/src/forum.rb

parse_porn.rb
#along with PornFind; if not, write to the Free Software
#Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
require 'thread'
MaxThread = (ARGV[0] or "5").to_i
MINSIZE = 3500
Language: Ruby
License: GPL
LOC: 164
Savannah NonGNU : Porn web page detector (project search) : .../p/pornfind/pornfind/pornfind/parse_porn.rb

jabber_rpc.rb
    attr_reader :server #The XML-RPC server
    #Storage hash used to wait for responses,
    #it works like this @callingMethods["id_293422"] = Thread.current
    @callingMethods = Hash.new
    #Storage hash in which returnvalues will be put
Language: Ruby
License: GPL
(C) 2002 Free Software Foundation, Inc.
LOC: 91
Savannah GNU : DotGNU Forum System (project search) : .../dotgnu-forum/dotgnu-forum/forumserver/src/jabber_rpc.rb

track.rb
require 'webrick'
require 'pstore'
require 'thread'
require 'ipaddr'
require 'net/bittorrent/bencoding'
Language: Ruby
LOC: 344
RubyForge : Aversa (project search) : .../aversa/aversa/lib/aversa/track.rb

thread.rb
unless defined? Thread
  fail "Thread not available for this ruby interpreter"
end
Language: Ruby
LOC: 4
Spider_rubyforge01 : RailsOnDesktop (project search) : .../ruby/lib/ruby/1.8/thread.rb

thread.rb
unless defined? Thread
  fail "Thread not available for this ruby interpreter"
end
Language: Ruby
LOC: 4
Spider_rubyforge01 : RailsOnDesktop (project search) : .../ruby-1.8.6/ext/thread/lib/thread.rb

thread.rb
unless defined? Thread
  fail "Thread not available for this ruby interpreter"
end
Language: Ruby
LOC: 4
Spider_rubyforge01 : InstantRedmine (project search) : .../rails/lib/ruby/1.8/thread.rb

xray.rb
require 'xray/thread_aware_dispatcher'
Language: Ruby
LOC: 1
Spider_rubyforge01 : XRay (project search) : .../XRay-1.0.3.gem/data.tar.gz.---/lib/xray/xray.rb

thread_dump_signal_handler.rb
#
# Install a signal handler to dump backtraces for all threads
#
# Trigger it with: kill -QUIT <pid>
Language: Ruby
LOC: 23
Spider_rubyforge01 : XRay (project search) : .../XRay-1.0.3.gem/data.tar.gz.---/lib/xray/thread_dump_signal_handler.rb

asynchronous.rb
   class Asynchronous
      include Logger
      attr_accessor :thread, :engine
      def initialize(engine)
         @engine = engine
Language: Ruby
LOC: 24
RubyForge (SVN) : Journeta P2P Discovery And Communication (project search) : .../journeta/journeta/lib/journeta/asynchronous.rb

mutex_fix.rb
require 'thread'
# monkey patch Mutex so it does not leak memory.
class Mutex
Language: Ruby
LOC: 29
Spider_rubyforge01 : Mongrel-support (project search) : .../Mongrel-support/mongrel-1.0.1-jruby.gem/data.tar.gz.---/lib/mutex_fix.rb

mock_handler.rb
    attr_reader :test_file_played,:test_max_digits,:test_action
    def place_call(callerid="0")
      @test_thread=Thread.current
      @handler_thread=Thread.new { self.do_dialup(callerid) }
      wait_for_sleep(@handler_thread)
Language: Ruby
LOC: 59
RubyForge (SVN) : RAGI test plugin (project search) : .../ragi-test/ragi_test/trunk/lib/mock_handler.rb

testThread.rb
require 'test/minirunit'
test_check "Test Thread:"
# Running and finishing
thread = Thread.new {
Language: Ruby
LOC: 68
RubyForge (SVN) : Chizzle - A RubyCocoa Based Ruby IDE (project search) : .../trunk/ironruby/jruby.net/test/testThread.rb

threaderror.rb
class ThreadError < StandardError
end
Language: Ruby
LOC: 2
SourceForge (SVN) : Ruby Development Tool (project search) : .../trunk/org.rubypeople.rdt.core/ruby/lib/threaderror.rb

enable_thread_aware_dispatcher.rb
Dispatcher.send :include, XRay::ThreadAwareDispatcher
Language: Ruby
LOC: 1
Spider_rubyforge01 : XRay (project search) : .../XRay-1.0.3.gem/data.tar.gz.---/lib/xray/enable_thread_aware_dispatcher.rb

thread.rb
#
#          thread.rb - thread support classes
#               $Date: 2007-01-09 09:51:17 -0600 (Tue, 09 Jan 2007) $
#               by Yukihiro Matsumoto <matz@netlab.co.jp>
Language: Ruby
(C) 2000 Network Applied Communication Laboratory, Inc....
LOC: 22
Spider_20090529_inc : IDEA (project search) : .../jruby-1.0.0RC1/lib/ruby/1.8/thread.rb

forum_thread_test.rb
require File.dirname(__FILE__) + '/../test_helper'
class ForumThreadTest < Test::Unit::TestCase
  fixtures :forum_threads
  def setup
Language: Ruby
LOC: 10
RubyForge : Alumni web application (project search) : .../alumni/AlumniApp/test/unit/forum_thread_test.rb

thread.rb
x = Thread.new { sleep 0.1; print "x"; print "y"; print "z" }
a = Thread.new { print "a"; print "b"; sleep 0.2; print "c" }
x.join # Let the threads finish before
Language: Ruby
LOC: 4
Spider_20090529_inc : IDEA (project search) : .../jruby/jruby-bin-1.0.0RC1.tar.gz.---/jruby-1.0.0RC1/samples/thread.rb

thread.rb
x = Thread.new { sleep 0.1; print "x"; print "y"; print "z" }
a = Thread.new { print "a"; print "b"; sleep 0.2; print "c" }
x.join # Let the threads finish before
Language: Ruby
LOC: 4
RubyForge (SVN) : Chizzle - A RubyCocoa Based Ruby IDE (project search) : .../trunk/ironruby/jruby.net/samples/thread.rb

thread_aware_dispatcher.rb
module XRay
  module ThreadAwareDispatcher
    # Intercept dispatch with our own method when the module is included.
    def self.included(target)
Language: Ruby
LOC: 16
Spider_rubyforge01 : XRay (project search) : .../XRay-1.0.3.gem/data.tar.gz.---/lib/xray/thread_aware_dispatcher.rb

rggzd_main.rb
     def run
          server = TCPServer.new("localhost", 6688)
          thread = Thread.new do
               guard
               thread.exit
Language: Ruby
LOC: 32
SourceForge : The MindX Project (project search) : .../mindx/mindx/rggzd/src/rggzd_main.rb

Wiki2GoServer.rb
if $0 =~ /Wiki2GoServer\.rb/
  server = Wiki2Go::Server.new(ARGV)
  thread = server.start
  thread.join
end
Language: Ruby
LOC: 8
RubyForge : Wiki2Go (project search) : .../wiki2go/wiki2go/wiki/bin/Wiki2GoServer.rb

WorkerThread.rb
#!/usr/bin/env ruby
# 
# This file provides a derivative of the Thread class which is capable of storing an
# associated timestamp. This functionality can be used to ascertain how long the
# thread has been in an idle state.
Language: Ruby
LOC: 36
Spider_20090107_inc : The MUES Game Engine (project search) : .../MUES-0.02.tar.bz2/MUES-0.02/lib/mues/WorkerThread.rb

thread_aware_dispatcher_test.rb
require File.expand_path(__FILE__ + '/../../test_helper')
unit_tests do
  test "thread aware dispatcher returns original dispath result" do
    dispatcher = Class.new
    dispatcher.expects(:dispatch).with(:the_args).returns(:the_result)
Language: Ruby
LOC: 42
Spider_rubyforge01 : XRay (project search) : .../XRay-1.0.3.gem/data.tar.gz.---/test/unit/thread_aware_dispatcher_test.rb

Listener.rb
class Listener
  def initialize(port_map)
    @threads = port_map.collect { |port, procedure|
      Thread.new {
        tcpserver = TCPServer.new(port)
Language: Ruby
LOC: 19
Savannah NonGNU : The Enki Document System (project search) : .../enki/enki/enki/Canton/Listener.rb

 1 2345678910...

Project Matches
 1 2345...

Thread__Tie - Thread::Tie, Thread::Tie::Array,...

Thread__Rand - Thread::Rand, Thread::Rand::Thread

Thread__Synchronized - Thread::Synchronized

Thread__Serialize - Thread::Serialize

Email__Thread - Email::Thread








About Koders | Resources | Downloads | Support | Black Duck | Submit Project | Terms of Service | DMCA | Privacy Policy | Site Map| Contact Us