UC3M

Telematic/Audiovisual Syst./Communication Syst. Engineering

Systems Architecture

September 2017 - January 2018

11.3.9. Automatic self-assessment

  1. Referring to the functionality given by pthread_mutex_lock is false that:

    • Two threads can be used simultaneously without using unlock.

    • It can block the thread that invokes the mutex

    • It can unblock a thread that invokes the mutex

    • It is used to limite the concurrency with unlock

  2. Referring to pthread_mutex_unlock is false that:

    • It is blocking

    • It is not blocking

    • It requires that the invoking thread has the mutex (previously taken with a pthread_mutex_lock)

    • It is used with a lock to limit concurrency