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



Reply via email to