apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Cliff Woolley <cliffwool...@yahoo.com>
Subject Re: SMS lock on demand WAS: RE: Possible race condition...
Date Mon, 02 Jul 2001 00:55:48 GMT
On Mon, 2 Jul 2001, Sander Striker wrote:

> apr_sms_thread_register(sms, os_thread)
> {

[snip]

>     pms = sms->parent;
>     while (pms) {
>        apr_sms_thread_register(os_thread);
>        pms = pms->parent;
>     }

[snip]

> }

You don't need a while loop here... the recursion ought to take care of it
for you.

--Cliff

--------------------------------------------------------------
   Cliff Woolley
   cliffwoolley@yahoo.com
   Charlottesville, VA



Mime
View raw message