ENET is not multi thread safe. You will need an instance of the host struct per thread. Or come up with your own synchronization methods between threads.
On May 16, 2012, at 10:28 AM, Ruud van Gaal wrote: > Hi, > > I'm getting crashes in my multithread app somewhere in ENet. It is somewhere > in enet_host_service ultimately. > Any ideas whether enet_host_service is re-entrant (called at the same time in > 2 threads)? > > Thanks, > Ruud > > _______________________________________________ > ENet-discuss mailing list > [email protected] > http://lists.cubik.org/mailman/listinfo/enet-discuss --- Bug in my software Disappears when in testing Curse you, Heisenberg [email protected]
signature.asc
Description: Message signed with OpenPGP using GPGMail
_______________________________________________ ENet-discuss mailing list [email protected] http://lists.cubik.org/mailman/listinfo/enet-discuss
