Posts by Thiago • 51 points
3 posts
-
0
votes2
answers104
viewsA: Communication of c# and c++
You need to do Interop. Basically you will generate a dll in c++ exposing an interface to be consumed in c#. In the c# application you will import this dll and then call the native code within the…
-
0
votes1
answer98
viewsA: Semaphoreslim locking method
The behavior is correct. When called await semaphoreSlimScheduling.Waitasync() the thread will be suspended until the return of the task. Depending on what you’re doing, it can take a while or even…
-
2
votes1
answer237
viewsA: How to add elements in Queue (Queue) continuously?
Quick fix use a static concurrent queue. private static ConcurrentQueue<int> FilaClientes = new Queue<int>(); Considerations Avoid using new Thread(). When creating a new thread, it will…