Lines Matching refs:threads
437 * Allow any handlers in separate threads to complete.
518 * Prevent acpi_gbl_db_method_info from being modified by multiple threads
533 if (info->threads && (info->num_created < info->num_threads)) {
534 info->threads[info->num_created++] = acpi_os_get_thread_id();
709 * PARAMETERS: num_threads_arg - Number of threads to create
715 * DESCRIPTION: Create threads to execute method(s)
745 * the created threads with the main thread.
757 * between the created threads.
762 "synchronization between the created threads, %s\n",
782 /* Array to store IDs of threads */
787 acpi_gbl_db_method_info.threads = acpi_os_allocate(size);
788 if (acpi_gbl_db_method_info.threads == NULL) {
795 memset(acpi_gbl_db_method_info.threads, 0, size);
842 /* Create the threads */
844 acpi_os_printf("Creating %X threads to execute %X times each\n",
857 /* Wait for all threads to complete */
862 acpi_os_printf("All threads (%X) have completed\n", num_threads);
873 acpi_os_free(acpi_gbl_db_method_info.threads);
874 acpi_gbl_db_method_info.threads = NULL;