Re: Help with worker.c

2009-07-10 Thread ricardo figueiredo
t; > > 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-&

Re: Help with worker.c

2009-07-10 Thread ricardo figueiredo
gt;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 > > R

Re: Help with worker.c

2009-07-08 Thread Graham Dumpleton
;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. > >

Help with worker.c

2009-07-08 Thread ricardo figueiredo
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

Re: Help with worker.c

2009-07-08 Thread ricardo13
e 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-tp24389140p24397052.html Sent from the Apache HTTP Server - Dev mailing list archive at Nabble.com.

Re: Help with worker.c

2009-07-08 Thread ricardo13
n 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 >

Re: Help with worker.c

2009-07-08 Thread Jorge Schrauwen
;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

Help with worker.c

2009-07-08 Thread ricardo13
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.