Subject Threaded UDF
Author gjngeldenhuis
I have written a threaded udf that sends a email. When the udf is
called it starts a thread that sends a email with the parameters
provided. However it is not working I am getting the following error
in the server log:

GETAFIX (Server) Fri Oct 03 16:40:56 2003
Access violation.
The code attempted to access a virtual
address without privilege to do so.
This exception will cause the Firebird server
to terminate abnormally.

I am not sure what I am doing wrong or if it is even allowed. I have
done a search on google and found a lot of udf articles but so far
none that creates threads. I did find a view that explains writing
thread safe code.

Any pointers appreciated.