Ethereal-dev: Re: [Ethereal-dev] To sleep or not sleep

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Guy Harris <gharris@xxxxxxxxx>
Date: Fri, 24 Mar 2006 10:25:07 -0800
Sofia Altieri wrote:

So, either I never free stored P or I *WAIT* to free P. This means that my routine must "sleep".

If your routine sleeps, it'll sleep forever - all dissection takes place in a single thread of control, so it's not as if your dissector will be woken up when "P resent" is read and dissected.

I'd vote for "never free stored P".