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 Exchange Network

Stack Exchange network consists of 183 Q&A communities includingStack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange
Loading…
Software Engineering

Questions tagged [multithreading]

Ask Question

Multi-threading related questions including technique, structure, and safety issues.

686 questions
Filter by
Sorted by
Tagged with
3votes
2answers
123views

I am trying to automate an old GUI tool which requires filling in some data from a CSV and selecting appropriate tree item values based on it. I need to do this in multiple instances of the ...
2votes
4answers
159views

I'm developing a multithreaded game server (C/TCP). I need to send a list of 50-100 available games to a console client.Option A: Send 50-100 separate messages, using send() for every single ...
1vote
1answer
99views

Situation: Order Handling in OMS System: In my OMS system, orders are pushed from an online platform with a unique orderId.Since the orderId is generated by the online platform, I cannot make it auto-...
3votes
3answers
634views

What are things that newer CPU can do to speed up single thread execution?multiple registers? (can compilers always benefit from it?)SIMD? (do compilers use SIMD without code annotation?)does a ...
1vote
1answer
402views

Reading the Proactor pattern paper, specifically this part:I/O Completion Ports in Windows NT: The Windows NT operating system implements the Proactor pattern. Various Asynchronous Operations such ...
4votes
10answers
4kviews

I am trying to understand the difference between CPU Bound vs IO Bound process. ChatGPT suggested that multi-threading/parallel processing can help a CPU bound process; However, I think that having ...
Sahil's user avatar
0votes
1answer
248views

As my next spare-time project, I'm considering writing a suite of compatibility header and associated library, that eases the transition from Single Unix Specification v4 to v5 and C11/C17 to C2X. C++ ...
0votes
1answer
591views

Background:I am working in a Java environment using Spring Boot, where I often encounter scenarios where global variable state management is critical, especially within singleton services. I have ...
10votes
5answers
4kviews

I'm writing a .NET library which exposes certain public APIs. Currently, I have not enforced thread safety in my library for following reasons apparent to me:locks (Monitor.Enter and Monitor.Exit) ...
0votes
1answer
143views

As I understand it, the join() method merge/composes/combines the results from all subtasks. A simple example I saw was summing the numbers from 1 to N and the subtasks would simply sum a range of ...
0votes
2answers
1kviews

The Rust programming language offers a Arc atomic reference counting generic type for use in multi-threading environment, since Rc is optimized for performance in single-threaded applications, and ...
1vote
1answer
162views

I'm trying to come up with a peace of code that would fetch centralised cache shared across multiple threads/app instances. Callers might come in swarms. The data is a large set, reads during ...
FoxMulder's user avatar
1vote
2answers
466views

I am writing a little C library for the Raspberry Pi for controlling 433MHz transmitters/receivers. While receiving data the whole application would block, so I decided to put this code into a ...
blackdog's user avatar
1vote
2answers
349views

Over and over I am faced with a similar problem: I have to perform two actions that are mostly unrelated, except that they need to share a mutex lock, at least for a moment. For example:void action() ...
CygnusX1's user avatar
0votes
5answers
1kviews

First of all, let me clarify the terms in order to avoid any possible misunderstandings.Language is considered to be compiled when a program written in it's source code cannot be run directly without ...
tnsaturday's user avatar

153050per page
1
2345
46

Hot Network Questions

more hot questions
Newest multithreading questions feed

[8]ページ先頭

©2009-2025 Movatter.jp