Evan Weaver on 1 Oct 2007 06:38:18 -0000


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

[PhillyOnRails] fibers vs green threads

  • From: "Evan Weaver" <evan@cloudbur.st>
  • To: "Philly on Rails" <talk@phillyonrails.org>
  • Subject: [PhillyOnRails] fibers vs green threads
  • Date: Mon, 1 Oct 2007 02:37:38 -0400
  • Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition:x-google-sender-auth; bh=F7vrUpwCjExHKlyRiYuhn2yEULEB07T/Ybuasm96K2I=; b=LvJsDrOQlU5bNgiEnvzze9u2Mu2k9xR63mmO3Btk7M6s78ETFx1Fnf++4RFD6v0pE70aHsDNgLxnDzG3rHsRpVlUtbSnRwNx4v/RIMNEp4UbB8R2ary0lNiC3du1Rat02wPFlMhV81IcRMgS20lU81pNCWbNAVLOfSACz/lnICA=
  • List-archive: <http://lists.phillyonrails.org/pipermail/talk>
  • Reply-to: talk@phillyonrails.org
  • Sender: talk-bounces@phillyonrails.org

Does the presence of fibers in Ruby 1.9 make up for the lack of green threads?

Green threading is cooperative based on blocking selects(), not
explicit yields, so I would guess not, but maybe there's some way to
automatically schedule fibers so that none get starved?

Evan

-- 
Evan Weaver
Cloudburst, LLC
_______________________________________________
To unsubscribe or change your settings, visit:
http://lists.phillyonrails.org/mailman/listinfo/talk