solver.c
// not threadsafe. use with caution.
not threadsafe. use with caution.
not threadsafe . use with caution .
void unpack_array(queue* q, void* outbuff, int buff_size, int len, int* pos,
				  void* problem_data) {
	float score;
	solution_vector psol;
	for (int i = 0; i < len; i++) {
		psol = unpack_solution(outbuff, buff_size, torus, pos, &score, problem_data);
		pq_insert_nc(q, score, psol);
	}
}
void unpack_array ( queue * q , void * outbuff , int buff_size , int len , int * pos , void * problem_data ) { float score ; solution_vector psol ; for ( int i = 0 ; i < len ; i ++ ) { psol = unpack_solution ( outbuff , buff_size , torus , pos , & score , problem_data ) ; pq_insert_nc ( q , score , psol ) ; } }
not threadsafe.
not threadsafe .