ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> ruby-talk
ruby-talk
ruby threads
by Vlad Smith other posts by this author
Jul 1 2009 1:44PM messages near this date
Re: Windows XP problem with Ruby, gem sqlite3-ruby, and SQLite3 | Re: ruby threads
Hi guys! Hope you`ll find some time to assist with any ideas

i have an array of links and a number of steps that needs to be done to
each of those links.

there are always the same amount of links in array..so basically i can
do everything manually

i was wondering how can i create the new thread for processing each of
those links , maybe there`s a way of doing something like this :

array.each do |link|
  a = Thread.new {....}
  a.join
end
-- 
Posted via http://www.ruby-forum.com/.
Thread:
Vlad Smith
Aaron Patterson
Vlad Smith
Justin Collins

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved