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
The code below is wrong for at least 2 reasons. I'll be rewriting this in assembly so I'll need the solution to be only linux system calls. What I'd like to do
In order to make two objects, User1 and User2, of a class User sending and receiving messages, #include <iostream> using namespace std; class reply { p
I am making a multi-threaded application, where a main process sends messages to the appropriate thread through a queue. My doubt is in the part of the thread:
When creating terraform deployments, I have to wait until the command completes before running the next command. If I have multiple deployments in parallel - (t
I'm writing a simple multithreaded md5 hash cracker using a task farm, except i keep getting read access violations seemingly at random. heres the function the
I’ve run into a performance obstacle and I’m uncertain of the cause, all of this is running under VS2022 & Net6.0. As this is my 1st time using
I have a following program which uses std::atomic_thread_fences: int data1 = 0; std::atomic<int> data2 = 0; std::atomic<int> state; int main() {
How do I make Singleton generic template, and how can I test it? Right now I am interested in seeing with my own eyes that 2 threads that invoke get_instance()
basically I am having trouble with Updating my new GUI. Windows 10 | Python 3.8 | PyQt5 I got a class like class My_GUI(): def __init__(self): ..
When using a debugger to debug a mutli-thread application, the debugger usually shows the currently running threads. Either with some GUI or command like info t
I have the following code:- class ThreadB extends Thread { int total; @Override public void run() { synchronized (this){ for(int i=
e.g. Here in this example, if I want to start thread on method M1 this way, Purpose is I need to call M2, M3 on same thread method to avoid repeated code. Is th