The term foreign image describes an executable file, external to G2, that contains the foreign functions you plan to call from your KB.
A foreign function call is synchronous. G2 does not perform other tasks until the function returns or times out. For asynchronous calls to C functions, see the description of GSI remote procedure calls, described in the G2 Gateway Bridge Developer's Guide.
You can start foreign images two ways: