Skip to content

AbdulazizAlasiri/os_processes_with_c

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

zombie_process

zombie.c

c program to create a zombie process(defunct)

To run the program:
1- Compile using g++ zombie.c or whatever is your compiler.
2- run the program use ./a.out.

To see the running process run ps u | grep Z+

thread.c

c program to create threads

The program read an integer input from STDIN and print all the primes number less than or equal to the STDOUT.
To run the program:
1- Compile using gcc -pthread thread.c or whatever is your compiler.
2- run the program use ./a.out.

About

c program to create a zombie process(defunct)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages