equal
deleted
inserted
replaced
228 |
228 |
229 // for each pixel... |
229 // for each pixel... |
230 vy = starty; |
230 vy = starty; |
231 |
231 |
232 #ifdef PTHREADS |
232 #ifdef PTHREADS |
233 int num_threads = 2; |
233 int num_threads = 4; |
234 printf("* pthreads enabled, using %d threads\n", num_threads); |
234 printf("* pthreads enabled, using %d threads\n", num_threads); |
235 pthread_t threads[num_threads]; |
235 pthread_t threads[num_threads]; |
236 for (int t = 0; t < num_threads; t++) |
236 for (int t = 0; t < num_threads; t++) |
237 threads[t] = pthread_self(); |
237 threads[t] = pthread_self(); |
238 int t = 0; |
238 int t = 0; |