Lines Matching refs:threads
38 * sockets in multi-threaded environment. All threads are sharing a common
48 * Example 2: Two threads, each handling two sockets. The thread running on CPU
64 * The buffer pool is shared between multiple threads. In order to minimize the
67 * thread that creates them and therefore cannot be shared with other threads.
633 * Packet forwarding threads.
758 static pthread_t threads[MAX_THREADS];
773 " by all the forwarding threads. Default: %u.\n"
811 printf("Max number of threads (%d) reached.\n",
855 printf("No threads specified.\n");
860 printf("Ports cannot be evenly distributed to threads.\n");
1039 status = pthread_create(&threads[i],
1048 printf("All threads created successfully.\n");
1075 pthread_join(threads[i], NULL);