dbexec.c (104470) | dbexec.c (107325) |
---|---|
1/******************************************************************************* 2 * 3 * Module Name: dbexec - debugger control method execution | 1/******************************************************************************* 2 * 3 * Module Name: dbexec - debugger control method execution |
4 * $Revision: 45 $ | 4 * $Revision: 46 $ |
5 * 6 ******************************************************************************/ 7 8/****************************************************************************** 9 * 10 * 1. Copyright Notice 11 * 12 * Some or all of this work - Copyright (c) 1999 - 2002, Intel Corp. --- 482 unchanged lines hidden (view full) --- 495 } 496 } 497 498 /* Wait for all threads to complete */ 499 500 i = NumThreads; 501 while (i) /* Brain damage for OSD implementations that only support wait of 1 unit */ 502 { | 5 * 6 ******************************************************************************/ 7 8/****************************************************************************** 9 * 10 * 1. Copyright Notice 11 * 12 * Some or all of this work - Copyright (c) 1999 - 2002, Intel Corp. --- 482 unchanged lines hidden (view full) --- 495 } 496 } 497 498 /* Wait for all threads to complete */ 499 500 i = NumThreads; 501 while (i) /* Brain damage for OSD implementations that only support wait of 1 unit */ 502 { |
503 Status = AcpiOsWaitSemaphore (ThreadGate, 1, WAIT_FOREVER); | 503 Status = AcpiOsWaitSemaphore (ThreadGate, 1, ACPI_WAIT_FOREVER); |
504 i--; 505 } 506 507 /* Cleanup and exit */ 508 509 (void) AcpiOsDeleteSemaphore (ThreadGate); 510 511 AcpiDbSetOutputDestination (ACPI_DB_DUPLICATE_OUTPUT); 512 AcpiOsPrintf ("All threads (%X) have completed\n", NumThreads); 513 AcpiDbSetOutputDestination (ACPI_DB_CONSOLE_OUTPUT); 514} 515 516 517#endif /* ACPI_DEBUGGER */ 518 519 | 504 i--; 505 } 506 507 /* Cleanup and exit */ 508 509 (void) AcpiOsDeleteSemaphore (ThreadGate); 510 511 AcpiDbSetOutputDestination (ACPI_DB_DUPLICATE_OUTPUT); 512 AcpiOsPrintf ("All threads (%X) have completed\n", NumThreads); 513 AcpiDbSetOutputDestination (ACPI_DB_CONSOLE_OUTPUT); 514} 515 516 517#endif /* ACPI_DEBUGGER */ 518 519 |