Lines Matching defs:threads
31 * -n <num threads> Number of threads to create (default is 2)
46 * has input focus is signalled to change the texture. The other threads
348 /* tell all threads to exit */
407 * we'll call this once for each thread, before the threads are created.
510 /* Wait for all threads to initialize otherwise wglShareLists will fail */
527 printf(" -n NUMTHREADS Number of threads to create\n");
573 printf("wglthreads: Forcing single-threaded, no other threads will be created.\n");
593 HANDLE threads[MAX_WINTHREADS];
595 printf("wglthreads: creating threads\n");
604 /* Create the threads */
616 threads[i] = WinThreads[i].Thread;
619 /* Wait for all threads to finish. */
620 WaitForMultipleObjects(NumWinThreads, threads, TRUE, INFINITE);