Follow-up Comment #5, patch #7491 (project freeciv):

> And u put that in chat, which gets messages from other threads. 
I don't know the threading model well enough. I added this FIXME because:
* The current client code isn't at all thread-safe (!)
* There's a mutex in the common chat code, which looks like protecting the UI
code
Anyway, if different threads are involved, I'll use signals and slots, which
are safer. Let's kill both listener<> and this patch.

> U uncommented also qtg_version_message, but it doesnt show
> metaserver message at all.
It did (as a regular message) if you could get to PAGE_START quickly enough.
Obviously it was far from ideal as multithreading wasn't taken into account (I
got it to crash just now).


    _______________________________________________________

Reply to this item at:

  <http://gna.org/patch/?7491>

_______________________________________________
  Message posté via/par Gna!
  http://gna.org/


_______________________________________________
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev

Reply via email to