<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/'><id>tag:blogger.com,1999:blog-7625526986034013157.post4070005626998817444..comments</id><updated>2008-07-17T14:11:09.247-07:00</updated><category term='plugins rails'/><category term='essays'/><category term='ruby'/><category term='git-tmbundle'/><category term='vim'/><category term='textmate'/><category term='solutions'/><category term='javascript'/><category term='git'/><category term='nerd'/><title type='text'>Comments on Tim, the Enchanter: Can you find the exclusive lock?</title><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://tim.theenchanter.com/feeds/4070005626998817444/comments/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7625526986034013157/4070005626998817444/comments/default'/><link rel='alternate' type='text/html' href='http://tim.theenchanter.com/2008/06/ruby-threads-are-close-to-useless.html'/><author><name>Tim Harper</name><uri>http://www.blogger.com/profile/03349408198556972919</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_7HPuw-ljjoY/S7eBtBJOBlI/AAAAAAAAAhg/Oo_4-NSOb6k/S220/tim.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>5</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-7625526986034013157.post-1592646255358183946</id><published>2008-07-17T14:11:00.000-07:00</published><updated>2008-07-17T14:11:00.000-07:00</updated><title type='text'>I like that you tagged this post "nerd." I wish th...</title><content type='html'>I like that you tagged this post "nerd." I wish there was some way to tag my life like that.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7625526986034013157/4070005626998817444/comments/default/1592646255358183946'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7625526986034013157/4070005626998817444/comments/default/1592646255358183946'/><link rel='alternate' type='text/html' href='http://tim.theenchanter.com/2008/06/ruby-threads-are-close-to-useless.html?showComment=1216329060000#c1592646255358183946' title=''/><author><name>mikemetcalf</name><uri>http://www.blogger.com/profile/07840201778279817674</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://www.cadencedesign.net/blog/mike_bw.jpg'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://tim.theenchanter.com/2008/06/ruby-threads-are-close-to-useless.html' ref='tag:blogger.com,1999:blog-7625526986034013157.post-4070005626998817444' source='http://www.blogger.com/feeds/7625526986034013157/posts/default/4070005626998817444' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-2086333016'/></entry><entry><id>tag:blogger.com,1999:blog-7625526986034013157.post-8185274257575017232</id><published>2008-07-15T14:04:00.000-07:00</published><updated>2008-07-15T14:04:00.000-07:00</updated><title type='text'>sounds like another good way.  I guess fork is rub...</title><content type='html'>sounds like another good way.  I guess fork is ruby's traditional way to try and be multi-threaded :)</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7625526986034013157/4070005626998817444/comments/default/8185274257575017232'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7625526986034013157/4070005626998817444/comments/default/8185274257575017232'/><link rel='alternate' type='text/html' href='http://tim.theenchanter.com/2008/06/ruby-threads-are-close-to-useless.html?showComment=1216155840000#c8185274257575017232' title=''/><author><name>Roger Pack</name><uri>http://www.blogger.com/profile/01578246846716577925</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://tim.theenchanter.com/2008/06/ruby-threads-are-close-to-useless.html' ref='tag:blogger.com,1999:blog-7625526986034013157.post-4070005626998817444' source='http://www.blogger.com/feeds/7625526986034013157/posts/default/4070005626998817444' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-13395199'/></entry><entry><id>tag:blogger.com,1999:blog-7625526986034013157.post-3767440670833915002</id><published>2008-07-07T21:36:00.000-07:00</published><updated>2008-07-07T21:36:00.000-07:00</updated><title type='text'>I discovered this after I posted this article :)  ...</title><content type='html'>I discovered this after I posted this article :)  So, so much for my excitement for native POSIX threads.  Grrr.  Ah well - the forking route and spawning little tiny query workers has proved quiet effective to get queries to execute in parallel.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7625526986034013157/4070005626998817444/comments/default/3767440670833915002'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7625526986034013157/4070005626998817444/comments/default/3767440670833915002'/><link rel='alternate' type='text/html' href='http://tim.theenchanter.com/2008/06/ruby-threads-are-close-to-useless.html?showComment=1215491760000#c3767440670833915002' title=''/><author><name>Tim Harper</name><uri>http://www.blogger.com/profile/03349408198556972919</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://tim.theenchanter.com/2008/06/ruby-threads-are-close-to-useless.html' ref='tag:blogger.com,1999:blog-7625526986034013157.post-4070005626998817444' source='http://www.blogger.com/feeds/7625526986034013157/posts/default/4070005626998817444' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-2142473342'/></entry><entry><id>tag:blogger.com,1999:blog-7625526986034013157.post-399771440578180712</id><published>2008-07-07T21:26:00.000-07:00</published><updated>2008-07-07T21:26:00.000-07:00</updated><title type='text'>note also that because ruby 1.9 still uses a globa...</title><content type='html'>note also that because ruby 1.9 still uses a global thread lock it only allows one thread to run at a time, so...currently anything that doesn't use rb_thread_block regions will still block the other threads.  So current mysql will still block [even if compiled on 1.9].  Native threads, but not totally native :)&lt;BR/&gt;I believe Python works the same way.  It's like the two languages are coalescing!</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7625526986034013157/4070005626998817444/comments/default/399771440578180712'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7625526986034013157/4070005626998817444/comments/default/399771440578180712'/><link rel='alternate' type='text/html' href='http://tim.theenchanter.com/2008/06/ruby-threads-are-close-to-useless.html?showComment=1215491160000#c399771440578180712' title=''/><author><name>Roger Pack</name><uri>http://www.blogger.com/profile/01578246846716577925</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://tim.theenchanter.com/2008/06/ruby-threads-are-close-to-useless.html' ref='tag:blogger.com,1999:blog-7625526986034013157.post-4070005626998817444' source='http://www.blogger.com/feeds/7625526986034013157/posts/default/4070005626998817444' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-13395199'/></entry><entry><id>tag:blogger.com,1999:blog-7625526986034013157.post-3638016663815003339</id><published>2008-06-25T10:47:00.000-07:00</published><updated>2008-06-25T10:47:00.000-07:00</updated><title type='text'>don't know how with 1.8.x.  With 1.9 you could rel...</title><content type='html'>don't know how with 1.8.x.  With 1.9 you could release a thread temporarily from having its global lock, I believe.  Or see my post on using fibers and evented sql for 1.9.  Barring that I suppose maybe fork off or something might help.&lt;BR/&gt;GL.&lt;BR/&gt;-R</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7625526986034013157/4070005626998817444/comments/default/3638016663815003339'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7625526986034013157/4070005626998817444/comments/default/3638016663815003339'/><link rel='alternate' type='text/html' href='http://tim.theenchanter.com/2008/06/ruby-threads-are-close-to-useless.html?showComment=1214416020000#c3638016663815003339' title=''/><author><name>Roger Pack</name><uri>http://www.blogger.com/profile/01578246846716577925</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://tim.theenchanter.com/2008/06/ruby-threads-are-close-to-useless.html' ref='tag:blogger.com,1999:blog-7625526986034013157.post-4070005626998817444' source='http://www.blogger.com/feeds/7625526986034013157/posts/default/4070005626998817444' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-13395199'/></entry></feed>
