vmarkovtsev / udt4py

libudt4 Python wrapper written with Cython

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Program hanging at call to UDTSocket constructor.

Scusemua opened this issue · comments

Hello.

I am using this library with the Python multiprocessing library. I have two processes that may be creating sockets at the same time.

I have been encountering issues where the program will just hang at the UDTSocket constructor:

usock = UDTSocket()

Is there any obvious reason this could happen? I only started seeing this issue once I began using two separate processes, so I think that may be related...

The original library is heavily multi-threaded which means that it would not work with multi-process without careful programming.