OS Lab 10 Complete .docx - Bahria University Lahore Campus Department of Computer Sciences Lab Journal 10(Fall 2018 Course Course Code Faculty\u2019s Name

OS Lab 10 Complete .docx - Bahria University Lahore Campus...

This preview shows page 1 - 2 out of 6 pages.

Bahria University, Lahore Campus Department of Computer Sciences Lab Journal 10 (Fall 2018) Course: Operating System Lab Date: Course Code: CSL - 320 Max Marks: 40 Faculty’s Name: Nighat Usman Lab Engineer: Shoaib Khan Name: Muhammad Usman Khalid Enroll No: 03-134161-024 Objective(s) : Understanding of threads, creation of threads, passing arguments to threads and to joining threads. Lab Tasks : Task 1: Write the 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 “I am thread one” and “I am thread two” respectively. Join both the threads to generate the output. Lab Grading Sheet : Task Max Marks Obtained Marks Comments( if any ) 1. 10 2. 10 3. 10 4. 10 Total 40 Signature Note : Attempt all tasks and get them checked by your Lab. Instructor .
Image of page 1
Image of page 2

You've reached the end of your free preview.

Want to read all 6 pages?

  • Fall '18
  • Zia Ul Rehman
  • Central processing unit, Computer program, shared memory

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture