C programming - POSIX, Thread for Linux/Windows

Performing tasks from laboratory work. I have about 20 tasks.


Rewrite the enumeration of files in a directory, so that the main thread is enumerated, and on each worker thread 4 each item listed is displayed.

Hint - 4 threads are created that initially wait on an unsigned semaphore. As the main thread enumerates files, they will be queued and the workspace waiting for the worker thread will be signaled. The worker scot threads in the queue an item he displays and returns and waits for the appearance of a new element on the semaphore. The termination of the program can be done by inserting fake tasks (instead of being a valid file name one puts an invalid, which thread worker acknowledging it, coming out).

Skills: C Programming

See more: pthread windows, pthread linux, pthread c++, pthread example in c linux, pthread vs thread, pthread tutorial for beginners, pthread mutex example, pthread c, In linux c programming, linux device drivers, linux kernel, c programming, usb, dma, linux c programming encryption, linux c programming sockets, windows c programming, php programming for windows landmark new riders, download c++ programming software for windows 7, download c++ programming language for windows 7, c programming on windows, C Programming Linux, c programming in linux, linux c programming

About the Employer:
( 0 reviews ) Chisinau, Moldova, Republic of

Project ID: #16988216

Awarded to:


I am a parallel programmer and know Pthreads really well. Share more details for all of the tasks...

$60 USD in 1 day
(244 Reviews)

8 freelancers are bidding on average $52 for this job


Hello, I am interested in this project and so wanted to discuss more it in details. I have a lot of experience in C programming. I will keep your time. And I will provide you quality work according to your instrument. More

$50 USD in 10 days
(47 Reviews)

I am very proficient in c and c++. I have 16 years c++ developing experience now, and have worked for more than 7 years. My work is online game developing, and mainly focus on server side, using c++ under Linux environ More

$50 USD in 1 day
(93 Reviews)
$10 USD in 3 days
(0 Reviews)

Hi, I am a multimedia expert with Audio Video encoding/decoding experience in Linux/Android Domain. Delivered several projects on RPI, You can see my history. Actually working on a project right now which uses l More

$55 USD in 2 days
(9 Reviews)

I have few years experience in embedded Linux system. Currently, I’m working for Bosch GmbH in a Linux project. I have a ready environment to develop that is setup on Linux Ubuntu. Relevant Skills and Experience Embed More

$55 USD in 7 days
(0 Reviews)

please discuss

$61 USD in 3 days
(15 Reviews)

Hi! I am a Computer Engineer. I am an expert on C an pthreads. I can do your project. Please message me further details. Kind regards.

$72 USD in 10 days
(20 Reviews)