Centralized 'thread active' handling

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

 



Stefan Huelswitt wrote:
> On 13 Aug 2005 Klaus Schmidinger <Klaus.Schmidinger@xxxxxxxxxx> wrote:
> 
>>Stefan Huelswitt wrote:
>>
>>>Wouldn't it be better to leave Active() untouched (instead of
>>>renaming to Running()) and create a new (differently named)
>>>function for the active var replacement? (e.g. Continue(), which
>>>would give good readability with while(Continue()))
>>
>>Well, Active() reflects the internal 'active' variable, so
>>Continue() would have to correspond to 'continue', which is
>>a reserved keyword...
> 
> 
> This is after your change, but before Active() didn't reflected
> any internal variable. I don't know if one must build such a
> strict rule ...

Of course you don't have to, but it's nice ;-)

Klaus


[Index of Archives]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Big List of Linux Books]     [Fedora Users]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux