Browse code

*** empty log message ***

Bogdan-Andrei Iancu authored on 03/12/2001 22:58:21
Showing 1 changed files
... ...
@@ -83,7 +83,7 @@ void free_hash_table( struct s_table *hash_table )
83 83
 struct s_table* init_hash_table()
84 84
 {
85 85
    struct s_table*  hash_table;
86
-   pthread_t *thread;
86
+   pthread_t  thread;
87 87
    int       i;
88 88
 
89 89
    /*allocs the table*/
... ...
@@ -105,10 +105,11 @@ struct s_table* init_hash_table()
105 105
    for(  i=0 ; i<NR_OF_TIMER_LISTS ; i++ )
106 106
       init_timerlist_lock( hash_table, i );
107 107
 
108
-#ifdef THREAD
108
+   return hash_table;
109
+//#ifdef THREAD
109 110
    /* starts the timer thread/ process */
110
-   pthread_create( thread, NULL, timer_routine, hash_table );
111
-#endif
111
+   pthread_create( &thread, NULL, timer_routine, hash_table );
112
+//#endif
112 113
 
113 114
    return  hash_table;
114 115