[En-Nut-Discussion] cgi functions
Ole Reinhardt
ole.reinhardt at kernelconcepts.de
Mon May 23 16:27:50 CEST 2005
Hi,
> I have question about cgi functions in Nut/OS. Is the cgi function inside an
> IRQ? How do I comunicate whith other threads from the cgi function? Is
> NutEventPostAsync(); the only possibility?
For God's sake, no! The CGI function will be called from the httpd
process if you have registered an appropriate cgi. The CGI function is
part of a "normal" process an therfore not executed in the irq context.
You can safely use NutEventPost or NutEventPostAsync whatever you like
better. To communicate with another process you can use message queues
as well...
Bye,
Ole
--
kernel concepts Tel: +49-271-771091-14
Dreisbachstr. 24 Fax: +49-271-771091-19
D-57250 Netphen E+ : +49-177-7420433
--
More information about the En-Nut-Discussion
mailing list