Subject | Threaded UDF |
---|---|
Author | gjngeldenhuis |
Post date | 2003-10-03T16:36:16Z |
Hi
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.
Groete
Gerhardus
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.
Groete
Gerhardus