int main(int argc, const char **argv) { PipeMulIndication *indication = new PipeMulIndication(IfcNames_PipeMulIndication); PipeMulRequestProxy *device = new PipeMulRequestProxy(IfcNames_PipeMulRequest); device->mul(3,4); while(true); }
int main(int argc, const char **argv) { PipeMulIndication *indication = new PipeMulIndication(IfcNames_PipeMulIndication); PipeMulRequestProxy *device = new PipeMulRequestProxy(IfcNames_PipeMulRequest); pthread_t tid; fprintf(stderr, "Main::creating exec thread\n"); if(pthread_create(&tid, NULL, portalExec, NULL)){ fprintf(stderr, "Main::error creating exec thread\n"); exit(1); } device->mul(3,4); while(true); }