John,No, HTTPAPI is not threadsafe, and has never been tested in a multi-threaded environment.
I've never heard of someone writing a multi-threaded application in RPG. Yes, I know that IBM made it possible to make multi-threaded RPG programs starting with 6.1, but aside from textbook examples that show that it is possible, I've never seen anyone write a multi-threaded application in RPG.
-SK On 5/26/2016 9:35 AM, John Long wrote:
Hi All, I'm trying to use HTTPAPI to create persistent connections in a multi threaded application, When I try to start a second thread and therefore a second connection I'm receiving error, is the API threadsafe? Regards John Long
----------------------------------------------------------------------- This is the FTPAPI mailing list. To unsubscribe, please go to: http://www.scottklement.com/mailman/listinfo/ftpapi -----------------------------------------------------------------------