Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
17 views

I am facing an issue where my Actix-web server starts correctly, but the moment I hit the /upload_chunk endpoint from my frontend, the request hangs forever. After some debugging, I found that the ...
1 vote
0 answers
111 views

Consider the following code: #pragma omp parallel for (int run = 0; run < 10; run++) { std::vector<int> out; #pragma omp for for (int i = 0; i < 1'000'000; i++) { ... } } ...
0 votes
0 answers
250 views

I'm working with a neural network project that requires to run two instance of the neural network program with different training set specifically two at the same time. For that I'm using ...
-1 votes
0 answers
137 views

I'm trying to write an audio player in Java/JavaFX and want to make a playlist play songs automatically. I have a button that triggers a new thread, and everything works fine so far.. but when the ...
0 votes
0 answers
147 views

Looking at this implementation of multiple-producer single-consumer, which was the implementation in Rust's standard library; however, its memory order model is derived from C++. So, it should be ...
0 votes
0 answers
38 views

I'm integrating BoringSSL into my networking library for secure communication. I've observed that both SSL_read() and SSL_write() operations can potentially trigger both read and write activities on ...
0 votes
0 answers
127 views

I've written a MQTT client for embedded system with RTOS (understand not POSIX, generally FreeRTOS). There's no pthread in the system. There's only 32 bits atomic instructions supported. The client ...
0 votes
0 answers
403 views

Python has officially introduce Python install manager and free-threading feature in 3.14, but I cannot find out how to enable free-threading feature with Python install manager. Is there a way to ...
0 votes
0 answers
49 views

I have been creating a basic core management tool which is able to dynamically turn CPU cores on and off using Arm's PSCI CPU_ON and CPU_OFF functions. This worked great on QEMU, however moving onto ...
0 votes
0 answers
35 views

AudioControl::AudioControl(QObject* parent) : QObject { parent } , QRunnable() { m_loop = pa_mainloop_new(); if (!m_loop) return; m_api = pa_mainloop_get_api(m_loop); ...
5 votes
0 answers
201 views

I was checking the size of std::atomic compared to T on different platforms (Windows/MSVC, Linux/GCC, Android/Clang). For intrinsic types (like int, int64_t, etc.), the size of std::atomic matches the ...
0 votes
0 answers
42 views

I have an object: QHash<long, QMap<long, QList<long>>> hash; During initialization, I add keys in the main thread, where each key corresponds to the ID of a worker thread on a one-to-...
0 votes
0 answers
75 views

I have the corpus.jsonl which has 6.5gb storage.And i use the one h100 gpu to embedding the corpus to the chromadb,but it seems very slowly.I want to find how can i accelerate the progress(gpu,cpu,io)....
1 vote
0 answers
25 views

I'm not good at English, so I used a translator, so please understand that the sentences may be strange. I'm learning Spring WebFlux. When a request entering a controller, requests are received on a ...
2 votes
0 answers
116 views

Is it possible on any real hardware in the real world, for the updated value of an atomic integer written by one thread to become visible to another thread earlier via an indirect path, where a third ...
3 votes
0 answers
255 views

For a project of mine related to prime counting, I am interested in iterating over special kind of semiprimes. For a given n, I want to iterate over semiprimes k=pq with the following properties/...
11 votes
0 answers
796 views

I'm really confusing about multiple thread in mod_wsgi, even after reading this document The main problem is that, how does mod_wsgi call my python scripts? To make my question clear, i will conclude ...
0 votes
0 answers
188 views

I keep seeing people posting loading scenes where the progress bar works. I've got an animated character while the scene loads, and it all just freezes. Like people have said it's not perfectly async. ...
0 votes
0 answers
109 views

I’m working inside a rclcpp_lifecycle::LifecycleNode and I’d like to spin up a background thread for loop‐closure detection: loop_thread_ = std::thread([this]() { LoopDetection(); }); However, ...
0 votes
0 answers
67 views

Essentially I'm following the example in the guide (posting only the relevant part, the full example is at this repo embryos = [fertilising_room(population_model) for _ in 1:POPULATION_SIZE] chunks = ...
6 votes
0 answers
243 views

In P2300, the "1.4. Asynchronous Windows socket recv" example uses a pattern to mark completion (of setting the cancellation callback) that looks like this: if (ready.load(std::...
0 votes
0 answers
182 views

I am struggling to understand how threads and assistants work within the LangGraph Platform Framework How I think it works create an assistant that's associate with a graph For each conversation, ...
2 votes
0 answers
60 views

I'm writing a physics game, and I'm trying to speed up my motion calculations. Every tick of the update cycle, I call an rk4 routine which calls an ODE function 4 times, passing updated values for dt/...
0 votes
0 answers
70 views

I have these 2 verticles in my java application in vert.x that are supposed to be running in multiple batches. public class TestVerticle4 extends AbstractVerticle{ private static final Logger ...
1 vote
0 answers
41 views

I'm currently in Matlab doing a set of fixed point iterations using fmincon. I use parfor multithreading to do so. However, one of my iterations in the parfor loop goes particularly slow just because ...

1
2 3 4 5
357