Bahria University, Lahore CampusDepartment of Computer SciencesLab Journal 10(Fall 2018)Course:Operating System LabDate:Course Code:CSL - 320Max Marks: 40Faculty’s Name:Nighat UsmanLab Engineer: Shoaib KhanName: Muhammad Usman KhalidEnroll No: 03-134161-024Objective(s) :Understanding of threads, creation of threads, passing arguments tothreads and to joining threads.Lab Tasks :Task 1: Writethe output of a program for thread creation and termination.Task 2:Write the output of a program for passing arguments to threads.Task 3:Write the output of the program for the difference between processes and threads.Task 4:Write a program to create two threads, with two functions displaying the output “Iam thread one” and “I am thread two” respectively. Join both the threads to generate theoutput.Lab Grading Sheet:TaskMaxMarksObtainedMarksComments(if any)188.8.131.52.10Total40SignatureNote : Attempt all tasks and get them checked by your Lab. Instructor.
You've reached the end of your free preview.
Want to read all 6 pages?
Zia Ul Rehman
Central processing unit,Computer program,shared memory