/* -*- C++ -*- */ /************************************************************************* * Copyright(c) 1995~2005 Masaharu Goto (root-cint@cern.ch) * * For the licensing terms see the file COPYING * ************************************************************************/ // Test program that is run by multi-thread libcint // unistd.h loads posix.dll. posix.dll must be compiled #ifdef WIN32 #include #else #include #endif int main(int argc,char** argv) { int n; printf("pid=%d started\n",getpid()); if(argc>1) n = atoi(argv[1]); else n = 10; for(int i=0;i