- Timestamp:
- 2005-11-09T01:02:05Z (19 years ago)
- Branches:
- master
- Children:
- 2d99c97
- Parents:
- 68b50b5f
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
unix.c
r68b50b5f r21d09ac 36 36 37 37 static void sighandler( int signal ); 38 gboolean bitlbee_dirty_workaround( gpointer data );39 38 40 39 int main( int argc, char *argv[] ) … … 95 94 log_message( LOGLVL_WARNING, "Error opening helpfile %s.", HELP_FILE ); 96 95 97 /* Workaround against runaway problems. Bah, this is really dirty,98 but in the end not really different from the <=0.91 situation,99 which makes it an acceptable temporary "solution". */100 // g_timeout_add( 0, bitlbee_dirty_workaround, NULL );101 102 96 g_main_run( global.loop ); 103 97 104 98 return( 0 ); 105 99 } 106 107 gboolean bitlbee_dirty_workaround( gpointer data )108 {109 usleep( 50000 );110 return( TRUE );111 }112 113 void proxyprofiler_dump();114 100 115 101 static void sighandler( int signal ) … … 141 127 } 142 128 } 143 #ifdef PROXYPROFILER144 else if( signal == SIGXCPU )145 {146 write_io_activity();147 proxyprofiler_dump();148 log_message( LOGLVL_ERROR, "Received SIGXCPU, dumping some debugging info." );149 exit( 1 );150 }151 #endif152 129 else if( signal != SIGPIPE ) 153 130 {
Note: See TracChangeset
for help on using the changeset viewer.