PlThreadDestroyEngine Method

SbsSW.SwiPlCs

Copy image CopyHover image
Swi-cs-pl - A CSharp class library to connect .NET languages with SWI-Prolog PlThreadDestroyEngine Method
SwiPlCs interfaceSbsSW.SwiPlCsPlEnginePlThreadDestroyEngine()()()()
Destroy the Prolog engine in the calling thread. Only takes effect if PL_thread_destroy_engine() is called as many times as PL_thread_attach_engine() in this thread.

Please note that construction and destruction of engines are relatively expensive operations. Only destroy an engine if performance is not critical and memory is a critical resource.

Declaration Syntax
C# Visual Basic Visual C++ F#
public static bool PlThreadDestroyEngine()
Public Shared Function PlThreadDestroyEngine As Boolean
public:
static bool PlThreadDestroyEngine()
static member PlThreadDestroyEngine : unit -> bool 
Return Value
Boolean
Returns true on success and false if the calling thread has no engine or this Prolog does not support threads.

Assembly: SwiPlCs (Module: SwiPlCs.dll) Version: 1.1.60605.0 (1.1.60605.0)