İptal Edildi

Semaphores in Minix

Programmation of semaphores in Minix for embedded system.

Implementation in Minix 3.1.2 of semaphore's algorithm.

This module should be implemented in the kernel and called with:

int sem_init(int sem_id, int value);

int sem_down(int sem_id);

int sem_up(int sem_id);

int sem_status(int sem_id, int* value, int* num_block);

The maximum number of semaphores must be 10, the sem_id repersent a number from 0 to 9

There are some ERRNO's Minix configurations in the case of error.

The three first functions are normal functions in the semaphore algorithm, the last should done the value of semaphores and the process blocked on it.

The language used is ANSI C. The code should be easy to maintain and simple.

Beceriler: C Programlama

Daha fazlasını görün: semaphores minix, minix semaphores, minix semaphore, semaphore minix, minix semaphores code, minix kernel semaphores, semaphore ansi, semaphore algorithm language, semaphore algorithm, minix semaphore implementation, semaphore implementation minix, semaphores implementation minix, algorithm functions, implementation semaphores ansi, implementation semaphore minix, minix semaphore implement, implementation minix semaphore, ansi c, kernel, int, algorithm maximum, implemented, blocked number, semaphores, normal

İşveren Hakkında:
( 0 değerlendirme ) Zürich, Switzerland

Proje NO: #64434