Hi.
Basic question. I don't have exact infromation about the matter so let's make sure...
I created a digital port change event handler this way:
m_taskDigital->DigitalChangeDetection += gcnew DigitalChangeDetectionEventHandler(DigitalChangeDetection); // m_taskDigital is an instance of Task.
In DigitalChangeDetection function I call certain functions imported from (unmanaged) dll. What if the function takes more time than the frequency of digital port changes? Do calls to DigitalChangeDetection go to a queue or are they discarded until the first call is handled or do they overlap?
Just wanted to know do I have to create some sort of semaphore or mutex to prevent overlapped calls to the dll fucntions.
Kind regards,
J.