httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ricardo13 <ricardoogra...@gmail.com>
Subject Re: Help with worker.c
Date Wed, 08 Jul 2009 14:40:10 GMT



Jorge Schrauwen-3 wrote:
> 
> If I'm not mistaken it's FIFO (First In, First Out).
> 
> I think it's LIFO (Last In, First Out).
> Because, for example, arrive 3 requests. It will do three operations
> Push(), the last request will be processing first than others.
> 
> My programming logic understand it. I didn't undestood FIFO.
> 
> I want undestand FIFO, but cannot understand. 
> 
> Thank you.
> Ricardo
> 
> ~Jorge
> 
> 
> 
> On Wed, Jul 8, 2009 at 12:39 PM, ricardo13<ricardoogrande@gmail.com>
> wrote:
>>
>> Hi,
>>
>> I'm trying understand worker.c module.
>> My doubt is about operation push() and pop().
>>
>> Push() add a socket in array fd_queue_t->data and Pop() retrieve a socket
>> for processing.
>>
>> But what's the order of PUSH() ?? It adds in final queue ??
>> And POP() ?? Retrieve a socket only before (elem =
>> &queue->data[--queue->nelts];) ??
>>
>> Thank you
>> Ricardo
>> --
>> View this message in context:
>> http://www.nabble.com/Help-with-worker.c-tp24389140p24389140.html
>> Sent from the Apache HTTP Server - Dev mailing list archive at
>> Nabble.com.
>>
>>
> 
> 

-- 
View this message in context: http://www.nabble.com/Help-with-worker.c-tp24389140p24392802.html
Sent from the Apache HTTP Server - Dev mailing list archive at Nabble.com.


Mime
View raw message