Borse, Ganesh scripsit:
> In the topic "C.4 Embedding Q in C/C++ Applications " on web
> page "http://q-lang.sourceforge.net/qdoc/qdoc_15.html#SEC187
> <http://q-lang.sourceforge.net/qdoc/qdoc_15.html#SEC187> ", it mentioned
> that before calling any eval functions from Q library, we need to do
> qexecv() or qexecl().
>
> Does this mean that we create / fork a process from the parent C/ C++
> program & then the script gets loaded into that new process?
Not at all. qexecv() and qexecl() cause the Q interpreter to load a
script to be run by the interpreter in the current process. They do not
cause an underlying execv() or execl(), but are only generally analogous
to them (start new script, pass arguments).
--
Even the best of friends cannot John Cowan
attend each others' funeral. co...@cc...
--Kehlog Albran, The Profit http://www.ccil.org/~cowan
|