Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
NotificationsYou must be signed in to change notification settings

Bovojon/OS-Linux-Kernel-exercises

Repository files navigation

The code is based on questions from the textbook,Operating System Concepts, 9th Edition by Abraham Silberschatz.

Description of files:

  • linux_kernel_linked_list.c: creates a linked list containing five struct birthdayelements, traverses the linked list and outputs its contents to the kernel log buffer. It then deletes the elements from the linked list and returns the free memory back to the kernel.
  • process_identifier_manager.c: creates and initializes a data structure for representing process identifiers, allocates and returns a process identifier and releases a process identifier.
  • collatz_conjecture.c: uses thefork() system call to generate the Collatz conjecture sequence in the child process.
  • pid_manager_multithreads: builds a multithreaded program that testsprocess_identifier_manager.c.
  • multithreaded_sorting_algorithm.c: a multithreaded sorting program.
  • pthread_mutex.c
  • dining_philosopher.c

Unix System Calls

The header fileunistd.h provides access to the POSIX operating system API:

  • Process Control:fork() - used to create a new processexit()wait()
  • File Manipulation:open()read()write()close()
  • Device Manipulation:ioctl()read()write
  • Information Maintenance:getpid()alarm()sleep()
  • Communication:pipe()shm_open()mmap()
  • Protection:chmod()unmask()chown()

Releases

No releases published

Packages

No packages published

Contributors2

  •  
  •  

[8]ページ先頭

©2009-2025 Movatter.jp