return : reference count of the engine
If an error occurs, -1 is returned.
If this Prolog is not compiled for multi-threading, -2 is returned.
Declaration Syntax
C# | Visual Basic | Visual C++ | F# |
public static int PlThreadAttachEngine()
Public Shared Function PlThreadAttachEngine As Integer
public: static int PlThreadAttachEngine()
static member PlThreadAttachEngine : unit -> int
Return Value
Int32
A reference count of the engine
A reference count of the engine
Assembly: SwiPlCs (Module: SwiPlCs.dll) Version: 1.1.60601.0 (1.1.60601.0)