Search:

Type: Posts; User: deadrabbit

Search: Search took 0.01 seconds.

  1. Replies
    6
    Views
    6,588

    I reworked the problem using these optimizations...

    I reworked the problem using these optimizations for the algorithm and the results were far more acceptable. However, I suppose its good to get a handle on threads sooner than later.
  2. Replies
    6
    Views
    6,588

    Thank you cas and anduril, for your advice. I...

    Thank you cas and anduril, for your advice. I will look into pthread_join() and implementing mutexes. Anduril, I wasn't sure how to do a loop when initializing the threads to call different...
  3. Replies
    6
    Views
    6,588

    Euler Problem 10 With pthreads

    I'm trying to implement threads with Project Euler problem 10. I am getting different results for the sum of the primes every time I run the program. I realize the code is quite atrocious; this is my...
Results 1 to 3 of 3