+#ifdef AFFINITY
+ set_affinity();
+#endif
+#ifdef EVENTMONITOR
+ createmonitor();
+#endif
+#ifdef SANDBOX
+ struct sigaction sig;
+ abortenabled=0;
+ sig.sa_handler=(void *)errorhandler;
+ sig.sa_flags=SA_RESTART;
+ sigemptyset(&sig.sa_mask);
+
+ /* Catch bus errors, segmentation faults, and floating point exceptions*/
+ sigaction(SIGBUS,&sig,0);
+ sigaction(SIGSEGV,&sig,0);
+ sigaction(SIGFPE,&sig,0);
+#endif