You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Change the connection string in the following code, so that it points
to an existing database, then put the code into file fbthreadtest.lpr and compile with
fpc -gl -dUseCThreads -ofbthreadtest fbthreadtest.lpr
ViolaciÃ³n de segmento
This is the example program:
Thread's destructor function does not behave exactly according to POSIX standard on linux. After destroying associated key function is anyway attempted to be called when thread terminates, which (taken together with aleready unloaded client library) causes segfault. Solution is to use windows-like approach, where we never used thread dtor at all.