Movatterモバイル変換


[0]ホーム

URL:


Sorry, we no longer support your browser
Please upgrade toMicrosoft Edge,Google Chrome, orFirefox. Learn more about ourbrowser support.
Skip to main content
Stack Overflow
  1. About
  2. For Teams
Loading…
Collectives™ on Stack Overflow

Find centralized, trusted content and collaborate around the technologies you use most.

Learn more about Collectives
141,056 questions
Filter by
Sorted by
Tagged with
0votes
1answer
45views

I'm using python socket programming to build a mock VPN service. the way I want it to work is that the server is launched, then the user client (Host-U) is launched. The Server should send a message ...
2votes
1answer
99views

While evaluating thread pool libraries for short-running tasks, I noticed that they all performed significantly worse than OpenMP. The root cause seems to be that other libraries struggle to start ...
BlueSky's user avatar
Best practices
0votes
2replies
28views

I am implementing custom document printing using Android’s Print Framework.Using the Android's documentation link as reference: https://developer.android.com/training/printing/custom-docsThe flow I ...
3votes
0answers
104views

I have a Java application that calls a native function. That native function has a loop and in each iteration launches 10 threads and waits for them to complete. Each thread just does a number of ...
0votes
1answer
97views

I am learning on how threads can be cancelled. Asynchronous cancellation can cancel the thread at any given point in time, but what I have learned about deferred cancellation is that it can only be ...
0votes
1answer
100views

I tried setting the SynchronizingObject like this:timer.SynchronizingObject = this;//The Windowbut VS told me I need an explicit cast. So I did that and the error went away.timer....
ispiro's user avatar
0votes
3answers
101views

I'm quite new to rust and want to do two function in parallel.shoot(&fleet_a, &mut fleet_b)shoot(&fleet_b, &mut fleet_a)since they only take information from one and modify some ...
1vote
1answer
54views

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 ...
0votes
1answer
82views

Previously I had a question on an example of multiprocessing which you can see in the following linkI used a 2 workers pool to split a sum in a function with Python multiprocessing but the timing ...
2votes
1answer
141views

Consider the following code:#pragma omp parallelfor (int run = 0; run < 10; run++){ std::vector<int> out; #pragma omp for for (int i = 0; i < 1'000'000; i++) { ... }}...
F.X.'s user avatar
  • 7,515
Advice
1vote
13replies
121views

I am trying to ensure that methods in my class can only be called by a single thread.So far tried to use ReaderWriterLockSlim to achieve this effect but this can cause potential issues if it is not ...
agracio's user avatar
Best practices
0votes
3replies
67views

I trying to develop user-friendly program that do not block physical disk with 100% usage (so even entering My Computer takes around 10 seconds).My program calculate hash for many (180k) small files ...
Kosmo零's user avatar
0votes
1answer
50views

I am trying to display the stack traces of RTOS fibers running in a C++ solution in VS2022. Since upgrading to Windows 11 there seems to be a problem in the implementation. The existing approach, ...
0votes
2answers
136views

I am trying to implement a lock-free multiple-producer-single-consumer ring buffer in C++. Here is the full definition and the test code.#include <iostream>#include <memory>#include <...
5votes
2answers
195views

In the released .NET 10 there is a new method added to the Volatile class with the name ReadBarrier().And I don't know whether from the compilers perspective there is a difference if I do a read with ...

153050per page
1
2345
9404

Hot Network Questions

more hot questions
Newest multithreading questions feed

[8]ページ先頭

©2009-2025 Movatter.jp