Find Jobs
Hire Freelancers

Operating Systems -- 2

$15-25 USD / hour

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

$15-25 USD / hour

A pipe is a mechanism to share data between two processes. One process writes to the pipe and another process reads from it. The operating system doesn't do anything with the data except hold it until the reader gets to it. The pipe device works very much like Random for open and close. Where it becomes different is read, write and seek. Of course, the data structure in the device is a little different too. For pipe, instead of the device holding an array of Random objects, it should instead hold an object that has a name string, a count and a array of byte[]. These byte arrays are a buffer - space to hold data. Let's walk through an example: Process 1 starts and calls x = open("pipe fred") -- the pipe device looks for an entry with the name "fred". There is no entry, so it makes one. Count = 1 Process 1 makes some data: byte [] data = someFunction(); Process 1 writes: write (x,data); -- the pipe device uses x (an int) to index into the array and the data is copied into the byte array. Process 2 starts and calls y = open ("pipe fred") -- the pipe device finds fred and return the id for the fred array entry. Count = 2 Process 2 reads: byte[] myData = read(y,10) -- the pipe device returns 10 bytes from the byte[] in the array entry Process 1 closes x -- the pipe device decrements count of the fred entry process 2 closes y -- the pipe device decrements the count, sees that it is 0 and removes the fred entry The FakeFileSystem works very similarly to the Random - it creates a single object (RandomAccessFile) for each entry. When you call read, it returns the read bytes. When you call write, it writes the bytes and returns the number of bytes written.
Mã dự án: 30126023

Về dự án

9 đề xuất
Dự án từ xa
Hoạt động 3 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
9 freelancer chào giá trung bình $19 USD/giờ cho công việc này
Avatar người dùng
Hi I have read all your description. I am professional Java developer and I am ready to start now. I am sure high quality, good communication. Please contact me and Let's go ahead ! Thanks.
$20 USD trong 40 ngày
5,0 (53 nhận xét)
6,4
6,4
Avatar người dùng
Hi Sir, I have 12 years of experience in java development and i worked on various assignment for OS simulation and file system development. As i reviewed your attached requirement it's looking good to me and i would like to discuss further with you. Please start the chat to discuss further. Thanks,
$17 USD trong 40 ngày
4,7 (75 nhận xét)
6,7
6,7
Avatar người dùng
Hello Nice to meet you I've just checked your requirements in details I have 11+ years of experience about Java, Programming and Eclispe And I can develop your project in shortest time perfectly If you hire me, I'll give you the satisfactory result Please contact me soon Thank you
$15 USD trong 40 ngày
5,0 (5 nhận xét)
3,1
3,1
Avatar người dùng
I am PhD scholar of computer science and professional operating system tutor and java developer. I study your assignment and java codes and satisfied that I can complete it professionally. plz tell me deadline
$28 USD trong 40 ngày
4,1 (8 nhận xét)
2,9
2,9
Avatar người dùng
Hello, Thank you for your care I've just read your job description carefully I'm a senior developer with 10+ years of experience about Java, Programming and Eclipse By using them, I developed lots of projects With good English skill, I want to discuss about your job with you You want to hire a reliable developer, don't you? If that's right, please contact me I would love to work with you Look forward to hear from you soon Thank you Best Regard Pavel
$15 USD trong 40 ngày
5,0 (3 nhận xét)
1,8
1,8
Avatar người dùng
You need dispatch control, You need dispatch control You need dispatch control, You need dispatch control, You need dispatch control Sry I need to put 100 chars.
$20 USD trong 40 ngày
0,0 (0 nhận xét)
0,0
0,0
Avatar người dùng
Hi how are you doing I have checked your project's description in detail I think I can complete your task for pipe moduke perfectly because I have rich experience in this kinda OS project development for 10+ years I will provide the good result in time I hope we can cooperate forever thanks
$20 USD trong 40 ngày
0,0 (0 nhận xét)
0,0
0,0
Avatar người dùng
Will do it, Project first Payment later, if Satisfied. how does that sound? Will do it, Project first Payment later, if Satisfied. how does that sound? Will do it, Project first Payment later, if Satisfied. how does that sound?
$20 USD trong 40 ngày
0,0 (0 nhận xét)
0,0
0,0

Về khách hàng

Cờ của UNITED STATES
Troy, United States
5,0
3
Phương thức thanh toán đã xác thực
Thành viên từ thg 3 24, 2021

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

Các công việc khác từ khách hàng này

Operating systems -- 2
$10-30 USD
Operating systems
$10-30 USD
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.