Problem based on this stackoverflow topic: https://stackoverflow.com/a/12150289/15270760 I have decided to create a simple NTP client displaying difference between NTP […]
Tag: multithreading
SQL service broker and threading
Problem Basically my code waits for database table a to have an XML string inserted into it. The SQL query […]
Asynchronous version of AutoResetEvent
Problem This is my second attempt to create asynchronous version of AutoResetEvent. At first I tried to make it completely […]
Task manager object for lazy initialization
Problem The Problem I am developing a Visual Studio extension for importing code from a server. Because of the way […]
Send data synchronously or asynchronously
Problem I am using below class to send data to our messaging queue by using socket either in a synchronous […]
Count of request per second, minute in java
Problem I want to count number of requests per second, minute. I want do it fast and thread-safe. I have […]
Capture some state in Haskell
Problem I want to capture some state in a Haskell function. For instance, I have many thread trying to print […]
Simple ThreadSafe Log Class
Problem For the m_listeners BlockingCollection<>, I know it’s a bit hacky right now, but I’m not sure what to use […]
Submitting callable tasks to a variable number of Threads in a ThreadPool
Problem I am getting into multithreading and I was wondering if the code below is good practice or not. This […]
Example of multithreading in Python3 / PyQt5 using QThread
Problem I wanted to make a simple example of multithreading with QThread in PyQt5 / Python3. The script generates a […]