Find Jobs
Hire Freelancers

pid manager c++

$10-30 USD

Đã đóng
Đã đăng vào gần 5 năm trước

$10-30 USD

Thanh toán khi bàn giao
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.
Mã dự án: 19747528

Về dự án

8 đề xuất
Dự án từ xa
Hoạt động 5 năm trước

Bạn muốn kiếm tiền?

Lợi ích khi chào giá trên Freelancer

Thiết lập ngân sách và thời gian
Nhận thanh toán cho công việc
Phác thảo đề xuất của bạn
Miễn phí đăng ký và cháo giá cho công việc
8 freelancer chào giá trung bình $33 USD cho công việc này
Avatar người dùng
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 trong 1 ngày
4,9 (424 nhận xét)
7,6
7,6
Avatar người dùng
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 trong 4 ngày
5,0 (18 nhận xét)
4,4
4,4
Avatar người dùng
Hi, I can complete this project for 1 day, let's discuss this project details, Thank you,
$90 USD trong 1 ngày
4,0 (29 nhận xét)
4,5
4,5
Avatar người dùng
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 trong 1 ngày
5,0 (2 nhận xét)
2,7
2,7
Avatar người dùng
i have 6+ years of experience in c/c++. i have read your requirement and working towards complemetation.
$25 USD trong 2 ngày
0,0 (0 nhận xét)
0,0
0,0
Avatar người dùng
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 badly. Please hire me to check the changes i've made in the code you've provided and pay me after you like the changes. Thanks
$15 USD trong 1 ngày
0,0 (0 nhận xét)
0,0
0,0
Avatar người dùng
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 trong 3 ngày
0,0 (0 nhận xét)
0,0
0,0

Về khách hàng

Cờ của UNITED STATES
Brooklyn, United States
5,0
4
Phương thức thanh toán đã xác thực
Thành viên từ thg 11 28, 2018

Xác thực khách hàng

Cảm ơn bạn! Chúng tôi đã gửi email chứa đường link để bạn lấy tín dụng miễn phí.
Đã xảy ra lỗi trong khi gửi email của bạn. Hãy thử lại.
Người Dùng Đã Đăng Ký Tổng Số Việc Đã Đăng
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Đang tải xem trước
Đã cấp quyền truy cập vị trí.
Phiên đăng nhập của bạn đã hết hạn và bạn đã bị đăng xuất. Hãy đăng nhập lại.