nerdexam
GIAC

GSSP-NET · Question #230

You work as a Software Developer for ABC Inc. The company uses Visual Studio .NET as its application development platform. You create a Windows Forms application by using the .NET Framework. The…

The correct answer is A. Call the Join method of the Thread class. GIAC GSSP-.NET Exam

Secure Coding Principles and Methodologies

Question

You work as a Software Developer for ABC Inc. The company uses Visual Studio .NET as its application development platform. You create a Windows Forms application by using the .NET Framework. The application executes a background thread. You are required to create the thread to exit, but you must also inform the main thread when the background thread has finished. What will you do to accomplish this?

Options

  • ACall the Join method of the Thread class.
  • BCall the Sleep method of the Thread class.
  • CCall the Abort method of the Thread class.
  • DCall the Interrupt method of the Thread class.

How the community answered

(40 responses)
  • A
    80% (32)
  • B
    3% (1)
  • C
    8% (3)
  • D
    10% (4)

Explanation

GIAC GSSP-.NET Exam

Topics

#Thread.Join#thread synchronization#background thread#thread lifecycle

Community Discussion

No community discussion yet for this question.

Full GSSP-NET Practice