I have a bug with futures.as_completed() or futures.wait() that will be blocked indefinitely when all Futures are completed or cancelled. Here the steps to repr
Hello I'm trying to block the main until all the threads are done. Apparently even by executing the .join() method, the main sometime doesn't wait all the threa
I wonder if there is any advantage putting join() not immediately after launching a thread? std::thread t(func); // some code ... t.join(); does it give you
I'm trying to create a little game where when you type in 'inventory' it opens a little window to display your items. However it doesn't work and give me an err
Let me just post a simple example: private void MyMethod() { Task task = MyAsyncMethod(); task.Wait(); } private async Task My
Consider the signature of the concurrentGroupBy: static <T,K> Collector<T,?,ConcurrentMap<K,List<T>>> groupingByConcurrent(Function<
I have been battling a problem for a day or so and "solved" it but I wonder if anyone knows why it must be so, or whether I have just hacked my way around a dee
I am new to using multithreading and I am working on a program that handles mouse movement, it consists of two threads, the main thread gets the input and store
In our project, we have a few services that make requests to a 3rd party API, using a key. This API has a shared rate limit between all endpoints (meaning reque
I am executing set of tasks, and in order to span them over time I've used Thread.sleep(forTimeInterval: ... ) It adds pauses between executions. Then, on the m
I have a requirement where I have to save a lot of data into an Oracle DB. I want to use multithreading to speed things up. Everything is in a transaction. I ha
As a preamble: I have an Excel-VBA workbook which can open an IE browser, login to a website with username,password, set up half a dozen webpages in tabs, and i
I'm trying to read out multiple serial ports at the same time with Python. I found some code to make it, but its not going well. The code not read the serial pr
Would someone be able to clarify what each of these things actually are? From what I gathered, nodes are computing points within the cluster, essentially a sing
I am trying to make a simple flask web server that presents two graphs of data using matplotlib from a DHT22 sensor stored in a sqlite3 database. The code is ba
"Write a program using two threads such that one writes even numbers in increasing order and the other odd numbers in incresing order with respect to a certain
I have upgraded mongo java driver <mongodb.version>3.12.8</mongodb.version> to mongodb-driver-legacy 4.1.2. since then when ever i am trying to up
Description: (Following is only a low level description) Assume you have a List of automates, one of people and one of tasks. The corresponding Data comes from
I am working on .NET CORE 6 application along with Entity Framework CORE 7. I have class where I have written LINQ script. This is async method. I am not sure w
I'm here to ask for help on a recent problem I encountered with my program.... I am getting this error when I try to use BitBlt and CreateCompatibleBitmap: win3