Search:

Type: Posts; User: Ivan Mili

Search: Search took 0.01 seconds.

  1. Replies
    4
    Views
    1,917

    I tried this before, and it still didnt work, and...

    I tried this before, and it still didnt work, and I also tried mutex to try to see what is the problem, and even with mutex, j=P->column was always 3.


    void* multiply_rows(void* dat)
    {
    data*...
  2. Replies
    4
    Views
    1,917

    threads inside threads problem

    So I'm working on multipling 2 matrices in C++ using threads.
    This is the code:

    #include<iostream>#include<cstdlib>
    #include<pthread.h>
    using namespace std;


    const int m=5;
    const int n=4;
Results 1 to 2 of 2