Ask Your Question
0

is greenlet dead code?

asked 2011-11-02 04:44:48 -0500

yunmao gravatar image

I did a quick grep on greenlet and only found a few lines that catch greenlet exceptions. Are those dead code? Has eventlet completely taken over? Thanks,

Yun

edit retag flag offensive close merge delete

4 answers

Sort by ยป oldest newest most voted
0

answered 2011-11-02 10:53:04 -0500

Yes, we've pretty well completely moved over to eventlet. I think there's only a mention or two left in the object storage service.

edit flag offensive delete link more
0

answered 2011-11-02 17:53:29 -0500

vishvananda gravatar image

Eventlet uses greenlet, so killed eventlet greenthreads will raise greenlet.GreenletExit exceptions. The code is not dead code.

Vish

On Nov 1, 2011, at 9:45 PM, Yun Mao wrote:

New question #177216 on OpenStack Compute (nova): https://answers.launchpad.net/nova/+q...

I did a quick grep on greenlet and only found a few lines that catch greenlet exceptions. Are those dead code? Has eventlet completely taken over? Thanks,

Yun


You received this question notification because you are a member of Nova Core, which is an answer contact for OpenStack Compute (nova).

edit flag offensive delete link more
0

answered 2011-11-02 17:57:02 -0500

Whoopsy ... sorry for the confusion. I was thinking Twisted for some reason.

edit flag offensive delete link more
0

answered 2011-11-09 15:51:02 -0500

yunmao gravatar image

Thanks Sandy Walsh, that solved my question.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2011-11-02 04:44:48 -0500

Seen: 14 times

Last updated: Nov 09 '11