[Gambas-devel] Gambas as a web server ...

Benoît Minisini gambas at ...1...
Fri Feb 6 15:31:32 CET 2009


> Hi,
>
> As the script needs to access a database and the database open / connect
> time is significant, the script needs to be "resident" or live within a
> "resident" wrapped .. so CGI doesn't really do it for me. I guess Fast CGI
> might, but I've tried to use this in the past and been disappointed.
>
> I think the bottom line is, I need to find "some" way to make Gambas work
> with threads, even if I write in "C" and call Gambas from a thread 

The gambas interpreter cannot be called from two threads simultaneousely. If 
you want to run two bunch of Gambas code at the same time, you need two 
different processes.

Regards,

-- 
Benoît




More information about the Devel mailing list