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

Re: Out of context Help



Hello,

> But my intention is not to run concurrently, but to run different
> programs in the same job.

This does not require PTHREAD support.  Programs on i can call other 
programs, and have them all activated in the same job.  Threads are only 
useful if you want them to run concurrently within the same job.

> These programs, which by the way use your HTTPAPI, will be running
> permanently in such job, reading a keyed dtaqs and sending / receiving
> data to various web services.

HTTPAPI isn't threadsafe and cannot be used in a multi-threaded 
environment.  Instead, you'll want to use multiple jobs.  Have a server 
job, or a series of server jobs, waiting on the data queues.  No need 
for PTHREAD.

-----------------------------------------------------------------------
This is the FTPAPI mailing list.  To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------