basic C programming project

The aim of this is to produce a simple simulation of a printer queue within a UNIX or Linux environment.

The simulation will consist of two communicating processes, a producer and a consumer.

Functional Requirements

First process

This process will be required to run to create a series of child processes that will represent each of the printer jobs. The PID number of each child is to be inserted / spooled within a priority queue.

The queue will be made available to the second process to allow de-spooling.

The process should be configurable using command line arguments.

Second Process

This process will be separate from the first and running within a separate console window and will simulate the de-spooling process.

The process should be configurable using command line arguments.

It should perform the following functions:

- Find and delete a number of printer jobs by priority order.

- Print a message to notify the user of the deletion.

- Kill the corresponding process.

It will be necessary to develop a communication mechanism to transfer data between the two main processes.

It should be possible to configure the maximum number of jobs allowed within the whole system.

It should also be possible to configure the consumer and / or the producer to specify how many jobs they will de-spool or spool during each cycle.

The code must be explained using comments.

The program needs to be written in C, not C# or C++.

Bidding will be anything under $30. Let me know if you intend to bid under $30 and I can arrange other forms of contact.


Taidot: C-ohjelmointi

Näytä lisää: unix programming environment, unix jobs, the unix programming environment, programming process, programming number, programming jobs jobs, programming functions, programming from, programming environment, programming comments, pid programming, perform line, number programming, line producer jobs, jobs programming, jobs producer, how to be a producer, functions programming, find unix, find programming jobs, find a line producer, data programming, c programming or, C Programming Linux, c programming functions

Tietoa työnantajasta:
( 0 arvostelua ) Stafford, United Kingdom

Projektin tunnus: #401431

Myönnetty käyttäjälle:


Hi, I can take this assignment, and within your budget and in time. if interested please contact me. Please check ur PM. Regards, Srinivasa

$30 USD 4 päivässä
(0 Arvostelua)

4 freelanceria on tarjonnut keskimäärin %project_bid_stats_avg_sub_26% %project_currencyDetails_sign_sub_27% tähän työhön


Dear sir, I can do it for you, Could you see PMB for more details? Thanks. Best Regards.

$50 USD 3 päivässä
(55 arvostelua)

Dear Buyer, your project is simple can be very well done within my proposed deadline. I hope to have you as my first buyer here on GAF. Regards, Vishwa Ranjan

$30 USD 3 päivässä
(0 arvostelua)

I can do it for you ..I will exceed your expectation.

$30 USD 3 päivässä
(0 arvostelua)