We perform the equivalent of this in the Windows API using the WaitForSingleObject() function, which causes the creating thread to block until the ee has exited.
เราดำเนินการเทียบเท่ากับที่ของโรงแรมแห่งนี้อยู่ใน API Windows โดยใช้ waitforsingleobject ()ฟังก์ชันที่จะทำให้การสร้างลวดลายที่ ซึ่งจะช่วยในการบล็อกจนกว่า ee ที่ออกจากโปรแกรม