Is HttpDLX thread-safe? (wodHttpDLX)

by henry @, (7502 days ago)

Dear Developers,

Is HttpDLX thread-safe?
If I start many threads and each thread creates a HttpDLX instance and download web page, will there be any problem?

Thank you.

Regards,

Henry

locked

Re: Is HttpDLX thread-safe?

by Jasmine, (7502 days ago) @ henry

Henry,

yes it is. You can initialize as many wodHttpDLX'es as you want, each initialized and living in his own thread, and they will not interfere with each other.

Just make sure you don't call wodHttpDLX'es methods from various threads - stick it only to a thread where you created it.

locked