Закрыт

pid manager c++

An operating system’s pid manager is responsible for managing process identifiers. When a process is first created, it is assigned a unique pid by the pid manager. The pid is returned to the pid manager when the process completes execution, and the manager may later reassign this pid. Process identifiers must be unique; no two active processes may have the same pid.

Use the following constants to identify the range of possible pid values:

#define MIN_PID 300

#define MAX_PID 5000

You may use any data structure of your choice to represent the availability of process identifiers. One strategy is to adopt what Linux has done and use a bitmap in which a value of 0 at position i indicates that a process id of value i is available and a value of 1 indicates that the process id is currently in use.

Implement the following API for obtaining and releasing a pid:

int allocate_map(void) – Creates and initializes a data structure for representing pids; returns -1 if unsuccessful and 1 if successful

int allocate_pid(void) – Allocates and returns a pid; returns -1 if if unable to allocate a pid (all pids are in use)

void release_pid(int_pid) – Releases a pid.

**Just simplify the attached code, take away the threads and mutex locks. And test the program then send me the source file and the output screen shot.

Квалификация: Программирование на С, Программирование на C#, Программирование на C++, Linux, Архитектура ПО

Показать больше successful people willing unsuccessful people unwilling, vb6 find pid winword exe task manager, unpack situations successful unsuccessful communication experienced workplace, mini pid c++, frc pid c++, c++ pid controller library, minipid c++, successful unsuccessful essay, successful unsuccessful communication, essay successful unsuccessful communication, successful unsuccessful communication workplace, adaptive pid control algorithm implementation (selftune c coding), adaptive pid control algorithm implementation selftune c coding, c programmers wanted to remove the licence on an application, c++ programmers wanted to remove the licence on an application, develop and sdk in c from an, implement a parser that processes sequences of correctly paired ifs and elses in a c program, i am an architect specializes in architectural visualization 3d i work as freelancer & i currently publish tutorials on my site, c# read and write text file, find a manager for an artist

О работодателе:
( 3 отзыв(-а, -ов) ) Brooklyn, United States

ID проекта: #19747528

13 фрилансеров(-а) в среднем готовы выполнить эту работу за $32

utkarshkatiyar19

Hi I'm an expert in OS concepts programming. I'm sure that I can easily do this project. We can have a about it. Thanks..

$25 USD за 1 день
(375 отзывов(-а))
7.3
moeed10

Hi, I have experience in .net development using C#, winForms, MVC and SQL server technologies. I have been working in this field since 2013. I have the spirit and experience for problem solving, sophisticated design Больше

$30 USD за 1 день
(31 отзывов(-а))
6.6
sysdesigner13

Hello, sir. Thanks for your job posting! I read your job description carefully and I have confidence to do it. I am a C, C++, C#, QT, Python, JAVA Developer with +6 years experience and your project is very interesting Больше

$20 USD за 7 дней(-я)
(69 отзывов(-а))
5.8
Victorier006

hello,how are you. i read your bid carefully. i am c/c++ expert and have full experience for 10 years. c++ language is my top skill. i can provide most quality and high speed. if you want to success, please contact Больше

$30 USD за 1 день
(9 отзывов(-а))
5.1
kalyanprakash4

keen to do it, please discuss. Negotiable price and duration...... ...... ................................... .............................

$40 USD за 2 дней(-я)
(37 отзывов(-а))
4.9
StrongDecs

Hi, I can complete this project for 1 day, let's discuss this project details, Thank you,

$90 USD за 1 день
(29 отзывов(-а))
4.5
NanoWins

I have experience to work your project. I'll complete your requirements according to job instruction. I am ready to work.

$25 USD за 1 день
(1 отзыв)
2.7
hassan11196

Hello I am an experienced C/C++ developer. I have experience in working witb mutex locks, pthreads, semaphores etc. I can help you with your task. You can see my profile at [login to view URL] [login to view URL] Больше

$30 USD за 1 день
(2 отзывов(-а))
2.3
mkduga

I have plenty of experience with C/C++ programming and I can easily help you with this project. Please let me know if you have any questions.

$30 USD за 1 день
(1 отзыв)
2.2
PradeepLegend18

i have 6+ years of experience in c/c++. i have read your requirement and working towards complemetation.

$25 USD за 2 дней(-я)
(0 отзывов(-а))
0.0
yashkatta1

I will be glad to help you with your project of solving PID manager. Please let me know your requirement in detail. So that I come up with the best solution suitable for you.

$31 USD за 4 дней(-я)
(0 отзывов(-а))
0.0
haashakhan

I've read your problem and your requirements and gone through your code as well. I found it easy and have edited the code and made it as efficient as possible. Since i am new over Freelancer hence i need this task badl Больше

$15 USD за 1 день
(0 отзывов(-а))
0.0
davidbourke

Yeah this looks pretty simple, should just take me a couple hours. I have to type 100 characters so... I've worked on lots of cool stuff like 3D medical image processing in C++, embedded development in C, etc.

$20 USD за 3 дней(-я)
(0 отзывов(-а))
0.0