Added silc_likely and silc_unlikely GCC branch prediction macros.
[silc.git] / lib / silcutil / silcschedule_i.h
index 6853d253a0491cc95edaf97f3ebeda648628939e..3c1598c7fe0901bd429bdaa017a283e8aea8b429 100644 (file)
@@ -62,7 +62,6 @@ struct SilcScheduleStruct {
   unsigned int max_tasks     : 28; /* Max FD tasks */
   unsigned int has_timeout   : 1;  /* Set if timeout is set */
   unsigned int valid         : 1;  /* Set if scheduler is valid */
-  unsigned int is_locked     : 1;  /* Set if scheduler is locked */
   unsigned int signal_tasks  : 1;  /* Set if to dispatch signals */
 };
 
@@ -126,9 +125,9 @@ SilcTask silc_schedule_task_add(SilcSchedule schedule, SilcUInt32 fd,
                                long seconds, long useconds,
                                SilcTaskType type);
 
-#if defined(SILC_DEBUG)
+#ifdef SILC_DIST_INPLACE
 /* Print scheduler statistics to stdout. */
 void silc_schedule_stats(SilcSchedule schedule);
-#endif /* SILC_DEBUG */
+#endif /* SILC_DIST_INPLACE */
 
 #endif /* SILCSCHEDULE_I_H */