FACT++  1.0
void threadInitializeCE ( )

Definition at line 747 of file feeserver.c.

Referenced by initialize().

747  {
748  int status = -1;
749  status = pthread_setcancelstate(PTHREAD_CANCEL_ENABLE, 0);
750  // if cancelation is not able, it won't hurt ?!
751 # ifdef __DEBUG
752  if (status != 0) {
753  printf("Set cancel state (init) error: %d\n", status);
754  fflush(stdout);
755  }
756 # endif
757 
758  status = pthread_setcanceltype(PTHREAD_CANCEL_ASYNCHRONOUS, 0);
759  // if cancelation is not able, it won't hurt ?!
760 # ifdef __DEBUG
761  if (status != 0) {
762  printf("Set cancel type (init) error: %d\n", status);
763  fflush(stdout);
764  }
765 # endif
766 
767  // Here starts the actual CE
768  initializeCE();
769 
770  // not necessary, return 0 is better
771 // pthread_exit(0);
772  return;
773 
774 }

+ Here is the caller graph for this function: