public C4DThread WaitForNextFree() { global::System.IntPtr cPtr = C4dApiPINVOKE.MPThreadPool_WaitForNextFree(swigCPtr); C4DThread ret = (cPtr == global::System.IntPtr.Zero) ? null : new C4DThread(cPtr, false); return(ret); }
public bool Init(C4DThread parent, int count, SWIGTYPE_p_p_C4DThread thread) { bool ret = C4dApiPINVOKE.MPThreadPool_Init__SWIG_1(swigCPtr, C4DThread.getCPtr(parent), count, SWIGTYPE_p_p_C4DThread.getCPtr(thread)); if (C4dApiPINVOKE.SWIGPendingException.Pending) { throw C4dApiPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public bool Lock(C4DThread bt) { bool ret = C4dApiPINVOKE.Semaphore_Lock__SWIG_1(swigCPtr, C4DThread.getCPtr(bt)); return(ret); }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(C4DThread obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }