Follow-up Comment #6, bug #13094 (project wesnoth):

The issue with using threads is that the attempt to make a TCP connection is
blocking and the timeout is too long on some machines (I personally am unable
to reproduce). The possible solutions that I and others have evaluated are:

-find a way to override the default (OS dependent?) TCP connection timeout.

-find a way to do nonblocking connections. Moving to a new networking library
is not possible - no new dependencies should be introduced.

-move the upload process to a seperate lightweight process that can continue
to exist in the background after the wesnoth client exits. I made headway
with this and submitted linux-only patches. This must be done across all
platforms, which is not trivial. 

-find a way to make the thread die. I tried this with a kill() function that
SDL provides and I got an obscure pthreads exception every time.

    _______________________________________________________

Reply to this item at:

  <http://gna.org/bugs/?13094>

_______________________________________________
  Message sent via/by Gna!
  http://gna.org/


_______________________________________________
Wesnoth-bugs mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-bugs

Reply via email to