Looks like it will skip

Zoran Vasiljevic wrote:

Am 09.01.2006 um 16:11 schrieb Vlad Seryakov:

In driver thread you do not know how mahy and each pool you gonna use until you call NsQueueConn, it is called for every ready socket untill all queues are full, then you wait next iteration to start queuing


Say I have 10 ready sockets. 2 of them should be queued to pool A
and 8 of them to pool B.

Let name those sockets:
  a-1
  a-2
  b-1
  b-2
  ...
  b-8

Now I start:

  NsQueueConn(a-1) : OK
  NsQueueConn(a-2) : FAIL

See? The code will automatically SKIP b1-b8
just because a-2 failed to queue?

Either this is true or I still do not understand
how this works :-(

Zoran




-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
naviserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/naviserver-devel


--
Vlad Seryakov
571 262-8608 office
[EMAIL PROTECTED]
http://www.crystalballinc.com/vlad/


Reply via email to