Exemple #1
0
 public bool Lock(C4DThread bt) {
   bool ret = C4dApiPINVOKE.Semaphore_Lock__SWIG_1(swigCPtr, C4DThread.getCPtr(bt));
   return ret;
 }
Exemple #2
0
 internal static HandleRef getCPtr(C4DThread obj) {
   return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }
Exemple #3
0
 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;
 }