Posted on 2014-12-09
i am new to programming and have a question about threading.
I currently trying to add an sdk to an existing application and I have the ability to call a method when something happens in that application. The problem is the application is performing a few actions and writing some records to SQL, but my sdk is trying to change those records.
My class is trying to delete the sql records and recreate the records, but before the application creates them after. Someone told me I need to "thread"
Is there a way to call another method which will not be dependent on my SDK or the application? I have tried both a thread and a threadpool, but I am just guessing. The thread pool seems to work but only for a few time and then i start getting error messages about time outs, etc.