예제 #1
0
파일: ddi_smp.c 프로젝트: andremirt/v_cond
 void DDI_SMP_Create(size_t size,int *handle) {
    *handle = SMP_create(size);
 }
예제 #2
0
/* ---------------------------------------------------------- *\
   DDI_SMP_Create wrapper
\* ---------------------------------------------------------- */
   void F77_SMP_Create(int_f77 *size,int_f77 *handle) {
      int myhndl = 0;
      size_t mysize = (size_t) *size;
      mysize *= sizeof(double);
      *handle = (int_f77) SMP_create(mysize);
   }