X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/ab6a99677293c9ddb96a717f03b8a009e98ab955..f4e958a66d213d0263b560cc2e3037c1a415d2b3:/nominatim/index.h?ds=sidebyside diff --git a/nominatim/index.h b/nominatim/index.h index 1e415530..46c8bb8a 100644 --- a/nominatim/index.h +++ b/nominatim/index.h @@ -4,15 +4,17 @@ #include #include -struct index_thread_data{ - pthread_t thread; - PGconn * conn; - PGresult * res; - int tuples; - int * count; - pthread_mutex_t * count_mutex; - xmlTextWriterPtr writer; - pthread_mutex_t * writer_mutex; +struct index_thread_data +{ + pthread_t thread; + PGconn * conn; + PGresult * res; + int tuples; + int * count; + pthread_mutex_t * count_mutex; + xmlTextWriterPtr writer; + pthread_mutex_t * writer_mutex; + uint table; }; void nominatim_index(int rank_min, int rank_max, int num_threads, const char *conninfo, const char *structuredoutputfile); void *nominatim_indexThread(void * thread_data_in);