[crossfire] gtk-v2/src/metaserver.c revision 6801 (metaserver2 mods)

Kevin R. Bulgrien kbulgrien at worldnet.att.net
Mon Aug 13 23:20:00 CDT 2007


It seems trunk is broken with metaserver2 code.  The client hard locks on exit.
It seems to be hanging at the mutex lock because the metaserver2 isn't up,
but I'm not

172 	  	     while (metaserver2_check_status()) {
173 	  	         usleep(100);
174 	  	         gtk_main_iteration_do(FALSE);
175 	  	     }
176 	  	 
177 	  	 
178 	  	     pthread_mutex_lock(&ms2_info_mutex);

It kind of concerns me that the client would hard lock if the metaserver was
down.

I put the whole block in #if 0 / #endif, and the libglade client works great.
Do I file a bug report, or is this in process code and that would just
irritate someone?

It also means I guess I need to merge the libglade stuff down to branch 1.x
to get non-broken code.  I am pretty sure the libglade port is done and all
that is left is to add new code to support choosing a .glade file to play with
and tweaking on the window position saving.

Comments?

Kevin R. Bulgrien



More information about the crossfire mailing list