Francesco Montorsi

Results 106 comments of Francesco Montorsi

ok thanks @cameron314 so if I understand correctly this comment https://github.com/cameron314/concurrentqueue/issues/169#issuecomment-546113196 then by default the max elements I can enqueue from the same (implicit) producer using just try_enqueue() (CannotAlloc policy)...

@cameron314 just an idea: do you think it would be possible to add an upper limit to the number of blocks that can be dynamically allocated by an enqueue() operation?...

The problem is that also MAX_SUBQUEUE_SIZE is a trait so it's a compile-time setting. I come up with another solution to achieve bounded-queue with size limit set at runtime. Can...

> This indeed would not be very accurate. In particular, size_approx can temporarily return a count larger than the actual number of queued elements. But this kind of "inaccuracy" in...

ok I understand that, it's just that it might be tricky to do for somebody not experienced in this area... for now the approach I described here https://github.com/cameron314/concurrentqueue/issues/332#issuecomment-1446032554 is working...

hi @anotherjulien , first of all thanks for this very well-written library! In this PR I fixed a dummy issue happening when the OWNd __main__.py module is stuck in the...

@anotherjulien ping on this PR... thanks

This is the sample application: [test_java_zmq.zip](https://github.com/zeromq/jeromq/files/3933314/test_java_zmq.zip) To run the sample, on 1st terminal run: ` java -jar test_java_zmq/target/zmqtest-1-jar-with-dependencies.jar pub tcp://*:5555 ` and on 2nd terminal run: ` java -jar test_java_zmq/target/zmqtest-1-jar-with-dependencies.jar...

Hi @fredoboulo , I didn't play with the HWM in this case (I copy/pasted that commented-out portion about HWM)... indeed increasing the HWM away from the default (which I discovered...

Hi @fredoboulo , I saw that comment but I did experimenti with a small C example (I will try to package that and link it here) and could 1048576 subscriptions...