Home/Support/Support Forum/Relinquish thread in CGI callback functions?
Welcome to Digi Forum, where you can ask questions and receive answers from other members of the community.

Relinquish thread in CGI callback functions?

0 votes
Is it safe and/or practical and/or even possible to relinquish the thread from the callback function associated with a CGI RP tag while waiting for another thread to complete it's task (the task that will give me the response to send to the RP call)? Will that inhibit the AWS from responding to other requests or have any other detrimental effects?

It's not a huge deal 99.9% of the time, there will only ever be one user connected. The other .1%, there will be 2 users.

Thanks,
Mike
asked Oct 14, 2007 in NET+OS by turbo2ltr New to the Community (8 points)
recategorized Dec 18, 2013 by tuxembb

Please log in or register to answer this question.

2 Answers

0 votes
The advanced web server (AWS) is single threaded. If you hold it up, no one else will be able to access it. Also if you hold it too long, you risk that connection timing out.
answered Oct 14, 2007 by sparkys_dad Community Contributor (99 points)
0 votes
Thanks for the reply. Thats kind of what I figured.

Incidentally, I found some information in the AWS Toolkit documentation on page 137 under "Delayed functions - external tasks" about API calls you can make to tell the RomPager engine that the CGI call is going to take a while.

-Mike
answered Oct 15, 2007 by turbo2ltr New to the Community (8 points)
...