C# (CSharp) Python.Runtime PythonEngine.AcquireLock - 11 exemples trouvés. Ce sont les exemples réels les mieux notés de Python.Runtime.PythonEngine.AcquireLock extraits de projets open source. Vous pouvez noter les exemples pour nous aider à en améliorer la qualité.
Acquire the Python global interpreter lock (GIL). Managed code *must* call this method before using any objects or calling any methods on objects in the Python.Runtime namespace. The only exception is PythonEngine.Initialize, which may be called without first calling AcquireLock. Each call to AcquireLock must be matched by a corresponding call to ReleaseLock, passing the token obtained from AcquireLock. For more information, see the "Extending and Embedding" section of the Python documentation on www.python.org.