Thank you for your answer. Just to check if I understood correctly:
1.- Do you mean to say that I can change dynamically and asyncrhonously the value of the cgi function table?
2.- Could I do something like the following?
3.- What would happen if a cgi function is already running when I change the table?
void Main_task(uint_32 index){
while(TRUE){
HTTPD_SET_PARAM_CGI_TBL(server,HTTPD_CGI_LINK_STRUCT*)dummy_lnk_tbl);
//Functions using a lot of CGI variables
//Functions using a lot of CGI variables
//Functions using a lot of CGI variables
HTTPD_SET_PARAM_CGI_TBL(server,HTTPD_CGI_LINK_STRUCT*)cgi_lnk_tbl);
_time_delay(150);
}
}
Regards,