home
I learned about pthreads yesterday, so to reinforce the concept, I decided to make a Red Light,...
I'm very new to thread coding, so I was doing an exercise I found out there on the web, which asks...
I am currently writing a parallel algorithm that uses both MPI and threads using the pthreads...
When I have the following C source code, which is running on an IBM i Midrange, then I get a...
I'm compiling some code using cmake, and encountered error. This is the message I got: [ 79%]...
I am currently writing a runtime system software for distributed systems and then I intend to...
If i call just function with cv::VideoCapture capture(0) it works fine. But if std::thread will...
How can I make two threads to wait for each other till they complete one loop each using...
I need to calculate the time of do_something using the function gettimeofday. The time will always...
I spent some hours trying to read cv::VideoCapture frames from member Thread with a member function...
I am trying to modify pthread_create. To be specific, in create_thread, I want to remove...
I'm embarrassed to even ask this question because I thought the results of my experiment would be...
I want to print the first 10,00,00,000 integers in the console, order doesn't matter. The naive way...
I'm pretty new in C++ and I want to make code like this for(;;) CopyFile( ...
After creating a pthread, i am setting the thread id to a custom id using a map. pthread_t...
I have a sample program which creates a pthread, waits for the thread to join. The thread will...
I'm just now getting into threading and specifically I want to learn POSIX threads, and everything...
I wrote 2 threads to decode RTSP stream from IP camera as below: RTSP_read_paket function used to...
I would like to understand how to use threads to control the execution of an instruction within a...
I'm about to develop an FreeRTOS based embedded system that will run on a ESP32 chip. According to...
so i'm diving into multithreading in c via POSIX pthreads but i do really struggle with the general...
I am coming from a Java background and am comfortable using Java's synchronization for multi...
gcc's -pthread argument has been discussed extensively. However me was not lucky on finding answer...
Example. I want to share getFrame and processFrame in seperated threads. I think that I will make...
I'm just recently learning about pthread condition variables, which appears to be fundamental to...
I'm learning about pthread_cond_t and wrote the following code intended to block forever at the...
2 weeks ago

IPC with pthreads

A company wants to distribute the passwords of different access points among employees. Employees...
I'm trying to run my code on MIPS Linux machine (little-endian, without hardware floats): # cat...
This is the scenario: I have an application (main.exe) which dynamically loads a library libA.so...
I wanted to set priority of a custom threadpool developed. so I found to set the priority need to...