[zeromq-dev] app_threads in zmq_init() call

gonzalo diethelm gdiethelm at dcv.cl
Wed Apr 28 23:48:04 CEST 2010

> Currently, fd_signealer_t passes single byte between threads, meaning
> that there can be at most 256 threads. This can be changed to 2 bytes
> giving max. 65536 threads.
> As for the systematic solution I am thinking of ditching the lock-free
> polling (ypollset_t) altogether. That way we can trade 2us of extra
> latency for:
> 1. No need for ZMQ_POLL flag.
> 2. Arbitrary number of threads can be used.
> Thoughts?

I would eliminate ypollset_t and send two (65,536) or four
(4,294,967,296) bytes between threads.

Gonzalo Diethelm

Declaración de confidencialidad: Este Mensaje esta destinado para
el uso de la o las personas o entidades a quien ha sido dirigido y
puede contener información reservada y confidencial que no puede
ser divulgada, difundida, ni aprovechada en forma alguna. El uso no
autorizado de la información contenida en este correo podrá ser
sancionado de conformidad con la ley chilena. 
Si usted ha recibido este correo electrónico por error, le pedimos
eliminarlo junto con los archivos adjuntos y avisar inmediatamente
al remitente, respondiendo este mensaje. 

"Before printing this e-mail think if is really necesary".
Disclosure: This Message is to be used by the individual,
individuals or entities that it is addressed to and may include
private and confidential information that may not be disclosed,
made public nor used in any way at all. Unauthorized use of the
information in this electronic mail message may be subject to the
penalties set forth by Chilean law. 
If you have received this electronic mail message in error, we ask
you to destroy the message and its attached file(s) and to
immediately notify the sender by answering this message. 

More information about the zeromq-dev mailing list