Hi,

network launches a thread to receive packets in ThreadRun. When 
connection ends, this function calls Disconnect() which in turn calls 
DisconnectNetwork().

This function checks which thread is being run, and if this is the main 
thread (not the launched one), it waits for the launched one to stop.

However, this ends in a systematic deadlock under Windows. As simply 
removing the Disconnect() from ThreadRun, thus allowing the thread to 
immediately end, solves this deadlock, I'm wondering if it is really 
needed. If yes, considering this is the likely source of problem, I'd 
accept a hand determining what is going wrong.

Best regards,
Kurosu  

_______________________________________________
Wormux-dev mailing list
Wormux-dev@gna.org
https://mail.gna.org/listinfo/wormux-dev

Répondre à