[ENet-discuss] ENet re-entrant?

Grant Mills Grant_Mills at affirmednetworks.com
Wed May 16 07:35:29 PDT 2012


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
> ENet-discuss at cubik.org
> http://lists.cubik.org/mailman/listinfo/enet-discuss


---
Bug in my software
Disappears when in testing
Curse you, Heisenberg


grant_mills at affirmednetworks.com




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cubik.org/pipermail/enet-discuss/attachments/20120516/521588c8/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 495 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.cubik.org/pipermail/enet-discuss/attachments/20120516/521588c8/attachment.pgp>


More information about the ENet-discuss mailing list