Shemesh
Running synchronous tasks on separate thread with FIFO
Hey guys,
I want to handle synchronous tasks that will run on another thread while the main thread is running. The separate tasks will write logs but is should be by order - FIFO.
I wrote the following class but I'm not sure how can I send the tasks as synchronous ones:
any suggestions how can I send to Enqueue method a synchronous task? thanks!
23 replies