Lines Matching full:tdata
38 } tdata[N_THREADS];
60 g_mutex_lock (tdata[t].to_free_mutex);
61 tdata[t].to_free[tdata[t].n_to_free] = mem;
62 tdata[t].bytes_to_free[tdata[t].n_to_free] = bytes;
63 tdata[t].n_to_free++;
64 g_mutex_unlock (tdata[t].to_free_mutex);
98 tdata[t].thread_id = t + 1;
99 tdata[t].n_to_free = 0;
100 tdata[t].n_freed = 0;
101 tdata[t].to_free_mutex = g_mutex_new();
106 tdata[t].gthread = g_thread_create (thread_func, &tdata[t], TRUE, NULL);
107 g_assert (tdata[t].gthread != NULL);
111 g_thread_join (tdata[t].gthread);
117 tdata[t].thread_id, tdata[t].n_freed, tdata[t].n_to_free);