What function could you use to allow only one thread to run a section of code at a time?

A. mutexVar.lock()
B. mutexVar.join()
C. mutexVar.wait()
D. mutexVar.mutex()


A. mutexVar.lock()

Computer Science & Information Technology

You might also like to view...

________ means that a program's source code is published and made available to the public, enabling anyone to copy, modify, and redistribute it without paying fees

A) Open source B) Public software C) Cross platform D) Open project

Computer Science & Information Technology

When a picture is selected, the Picture Tools become available on the ribbon. Additionally, ______________, small circles or squares that indicate an object is selected, surround the selected picture.

a) sizing handles b) alignment guides c) rulers d) display selections

Computer Science & Information Technology

To sort data using the shortcut method, ____ a cell value on which you want to sort, point to Sort, then click the appropriate option.

A. click B. right-click C. double-click D. point to

Computer Science & Information Technology

A shape can be given an absolute position in a Canvas using the Canvas’s methods _____ and _____.

a) SetX, SetY b) SetLeft, SetTop c) PositionX, PositionY d) PadLeft, PadTop

Computer Science & Information Technology