[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: HTTPAPI Threadsafe



Thanks for the update, I was trying to do something a little neat, looking at switching to spawning  instead.

Sent from my iPhone

> On 26 May 2016, at 16:56, Scott Klement <sk@xxxxxxxxxxxxxxxx> wrote:
>
> 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
> -----------------------------------------------------------------------
_____________________________________________________________ T.J. MORRIS LTD-CONFIDENTIALITY NOTICE This e-mail and its contents, together with any attachments, are confidential to the sender and the intended recipient(s). If you are not the intended recipient or agent responsible for delivery to the intended recipient any unauthorised storage, use, disclosure, copying, distribution or dissemination of this e-mail or any part thereof is strictly prohibited and may be illegal. If you receive this e-mail in error please advise us by telephone on +44(0)151 530 2920 and delete and destroy this e-mail and any attachments and any copies thereof from your system immediately. Any views or opinions expressed in this e-mail are solely those of the sender and do not necessarily represent those of T J Morris Ltd. Although any attachments to this e-mail have been checked for viruses we make no representation and give no warranty as to the absence of viruses and you should scan this e-mail and attachments for viruses. ___________________________________________________________
-----------------------------------------------------------------------
This is the FTPAPI mailing list.  To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------