Follow-up Comment #2, bug #21083 (project freeciv):
See also bug #21683.
> Maybe the lock is being kept longer than necessary?
> Why the logfile would need to be locked when one is doing the
> network part?
The lock is in log_real() around the call to log_write(). log_write() does two
things: writes to the file, and calls log_callback, which in this case is
con_handle_log(), which sends stuff to the network, causing recursive hilarity
It feels like some of the things in con_handle_log() don't want to be called
by multiple threads simultaneously, though.
Reply to this item at:
Message sent via/by Gna!
Freeciv-dev mailing list