is greenlet dead code?

Asked by Yun Mao

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

Question information

Language:
English Edit question
Status:
Solved
For:
OpenStack Compute (nova) Edit question
Assignee:
No assignee Edit question
Solved by:
Sandy Walsh
Solved:
Last query:
Last reply:
Revision history for this message
Best Sandy Walsh (sandy-walsh) said :
#1

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.

Revision history for this message
Vish Ishaya (vishvananda) said :
#2

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/+question/177216
>
> 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).

Revision history for this message
Sandy Walsh (sandy-walsh) said :
#3

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

Revision history for this message
Yun Mao (yunmao) said :
#4

Thanks Sandy Walsh, that solved my question.