installing vs2013 did not immediately fix issue, but restarting windows 
uncovered that avast anti-virus wanted to try to stop jqt, and when I told it 
not to, jqt unfroze.



jcs "help commands" ran ok up to 

runz__c '' (may have waited less than 9 seconds).  Hangs jqt session. 
on restart and after wait, it returned result.  (difference is that on restart 
I did not load and init zmq.ijs first). Also ran fine when not waiting.


a design problem to me though, is that

runa cannot be called again until runz is called.  This makes it not genuinely 
async.  

the qrun routine from lab is a useful extension of this though, so I see the 
utility.

I also can see a simple "real async" ontop of this model with a queue that 
sends each command based on poll, but I'll think more before I expand on this 
or suggest other methods.


________________________________
From: Eric Iverson <[email protected]>
To: Programming forum <[email protected]> 
Sent: Wednesday, September 27, 2017 4:57 PM
Subject: Re: [Jprogramming] zeromq addon



Pascal,
Interesting. You are on the right track. That is, you need the right
mscrxxx.dll for your system.

Look at lib_jzmq_ and you will see that it has hard wired:
"c:/program files/zeromq 4.0.4/bin/libzmq-v120-mt-4_0_4.dll"

There are probably other dll files in the "zeromq 4.0.4" folder built with
other mscr versions.

Take a look and see if setting lib_jzmq_ to another lib helps.

Please let us know what you find.

On Wed, Sep 27, 2017 at 4:48 PM, 'Pascal Jasmin' via Programming <
[email protected]> wrote:

> version_jzmq_''
> 4 0 4
>
> though, all of the programs (exes) in zeromq's install folder fail
> complaining msvcr100.dll is missing. (new computer... I think this is vc++
> 2010 redistributable), but hang/stall still persists after I installed
> this.  Do I perhaps need vc++ 2013 to match the 120 version?
>
>
> after loading jcs,  jcst 65201 hangs J too.
>
>
>
>
>
>
>
> ________________________________
> From: Eric Iverson <[email protected]>
> To: Programming forum <[email protected]>
> Sent: Wednesday, September 27, 2017 2:35 PM
> Subject: Re: [Jprogramming] zeromq addon
>
>
>
> We are still working on the announcement and some fine tuning.
>
> net/jcs is a related addon that builds on top of zmq.
>
> net/jcs/jcs_lab.ijs is a lab for jcs.
>
> jcs/zmq will be used in Jd to provide high-performance server.
>
> most people should wait a bit for the announcement :)
>
> *I**
> Not immediately obvious what would  cause your hang.
>
> In a clean session, please try:
>
>    load'~addons/net/zmq/zmq.ijs'
>    version_jzmq_''
>
> This should report the 3 digit zmq version number or indicated that it
> could not find the library.
>
> What do you get from version?
>
>    lib_jzmq_ NB. should return the following:
> "c:/program files/zeromq 4.0.4/bin/libzmq-v120-mt-4_0_4.dll"
>
> Please verify if the zmq install there looks reasonable. If it isn't there
> at all you should have gotten a cd error that made that clear.
>
> On Wed, Sep 27, 2017 at 2:18 PM, 'Pascal Jasmin' via Programming <
> [email protected]> wrote:
>
> > this addon is very welcome, but the command,
> > ctx_new_jzmq_ ''
> >
> > returns a pointer but hangs the j session (0% cpu use)
> > on windows 10.
> >
> > is there an example program/session?
> > ----------------------------------------------------------------------
> > For information about J forums see http://www.jsoftware.com/forums.htm

>
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
>
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to