Skip to main content
-2 votes
0 answers
67 views

I'm developing a custom Linux kernel module for managing device resources, and I need to implement proper reference counting to prevent use-after-free (UAF) vulnerabilities. My module maintains ...
Gunjan Ghangare's user avatar
Best practices
1 vote
2 replies
40 views

I currently have a windows app I wrote that interacts with data from a web API. I'm trying to make an android version to carry around with me. Generally only one person accesses the data from their ...
Fixitman Mike's user avatar
Advice
0 votes
0 replies
34 views

I'm developing a service that runs alongside my Scorpio NGSI-LD broker and other databases. This service exposes an API that allows users to update entities, and these updates are propagated to ...
Sergio R.B.'s user avatar
Advice
1 vote
1 replies
26 views

Give a private field with public read access by the property and a method where this field is written. I use the lock to make a consistent write in a method, but I have no lock in the property. Code ...
RollingStone's user avatar
0 votes
1 answer
61 views

I'm using Strapi Cloud version 5 headless CMS for my website. But sometimes it's easier to work with the local Strapi server localhost:1337 - I don't have to wait for the deployment. The problem is, ...
javazen's user avatar
  • 171
4 votes
1 answer
138 views

By default, C++ streams (cin, cout) are synchronized with C streams (stdin, stdout). This allows mixing C and C++ style I/O. I am trying to understand what this means in practice regarding flushing. ...
Ranko's user avatar
  • 145
1 vote
1 answer
55 views

I am trying to sync multiple audio files to be played in different devices and browsers at the same time. I have already manage to sync the clocks of all the devices with a max error of 10ms, avg ...
Ricardo Pardo's user avatar
0 votes
1 answer
113 views

Here is a Java class that writes messages in a parallel thread to a stream. When the stop() method is called, the mCloseWriter flag is set and the thread that writes the messages to the stream is ...
Igor Yarmolyk's user avatar
0 votes
0 answers
42 views

The MESI or MOESI protocols need the LLC directory in order to work... and the directory needs to synchronize parallel RFO + snoop-invalidation calls in order for it to work (in TSO architectures that ...
Delark's user avatar
  • 1,385
1 vote
2 answers
145 views

Everyone knows Singletons. Here is one: public class MySingleton { private MySingleton() { } public static MySingleton GetInstance() { return instance ??= new MySingleton(); } ...
Thomas Weller's user avatar
1 vote
0 answers
45 views

I'm working on an ECS system that automatically multithreads systems (similar to bevvy). However sometimes third party libraries don't play nice with multithreading. Bevvy's answer is resources, but ...
gjh33's user avatar
  • 121
0 votes
0 answers
19 views

I’m using the KendoReact library to render a Pivot Table (PivotGrid) in my React project.I’ve customized the Pivot Table’s styles and layout according to my requirements. Table is presnt On Two pages ...
Megha's user avatar
  • 1
0 votes
4 answers
154 views

I have a class that I want to make thread-safe. In it are these 2 functions : public void add(String param1, String param2) { // do something } public void clear() { // do something else } I ...
Absolute_Arthur's user avatar
0 votes
0 answers
64 views

The membership list of our sporting club is maintained by a Sharepoint list. I established a link between the sharepoint list and an excel file, which appears as a seperate tab/table in my excel. When ...
Martie Timmers's user avatar
0 votes
1 answer
57 views

I'd like to clarify which memory transfers are done in two examples of SYCL code in Intel's oneAPI guide. The guide makes one point that contradicts my impression about when memory transactions are ...
xealits's user avatar
  • 4,808

15 30 50 per page
1
2 3 4 5
860