Search:

Type: Posts; User: zooro

Search: Search took 0.00 seconds.

  1. Replies
    7
    Views
    3,963

    How i write Java application that sorts an array...

    How i write Java application that sorts an array of integers using two threads. The rst thread
    sorts the rst half of the array, the second the second half. Both threads should run in parallel....
  2. Replies
    7
    Views
    3,963

    Sort array using 2 thread

    hi all i need ur help in how i can .....

    sort array using ,,,, 2 threads...


    here is my coad
  3. Thread: process sequence

    by zooro
    Replies
    10
    Views
    2,181

    I Got it :) ..... it were fork the parent every...

    I Got it :) ..... it were fork the parent every time where it should fork the child.......Here the right coad ......


    #include <stdio.h>
    #include <sys/types.h>
    #include <unistd.h>
    #include...
  4. Thread: process sequence

    by zooro
    Replies
    10
    Views
    2,181

    Thank u oogabooga...

    Thank u oogabooga http://im.cprogramming.com/images/statusicon/user-online.png
    i did not get your point ...why I breack out the loop??!!



    #include <stdio.h>
    #include <sys/types.h>
    #include...
  5. Thread: process sequence

    by zooro
    Replies
    10
    Views
    2,181

    Here what I should get if I enter the following...

    Here what I should get if I enter the following

    (An example for a sequence of length three):

    Sara@dell:~/OSSS$ gcc –o file file.c
    Sara@dell:~/OSSS$ ./file 3
    Creating process sequence of...
  6. Replies
    1
    Views
    2,816

    Remove message queues

    I just want to know, how i can delete ALL message queues from the system thruogh a C program.
  7. Thread: process sequence

    by zooro
    Replies
    10
    Views
    2,181

    what is wrong ....?!!! i dont get right ....any...

    what is wrong ....?!!!
    i dont get right ....any hints??




    #include <stdio.h>
    #include <sys/types.h>
    #include <unistd.h>
    #include <stdlib.h>
  8. Thread: fork ()

    by zooro
    Replies
    8
    Views
    2,057

    Woow ......anduril462...

    Woow ......anduril462 Thank u very much ....very good explaination .. I think in unix we use sleep() insted of wait () yah ????!!!
  9. Thread: fork ()

    by zooro
    Replies
    8
    Views
    2,057

    thank u anduril462...

    thank u
    anduril462 http://im.cprogramming.com/images/statusicon/user-online.png

    ..... i try to draw .. i am not sure is it 64 ???

    ech fork has 2 process

    each loop 2 fork ...

    loop1 :
  10. Replies
    6
    Views
    1,618

    Thank you .....anduril462...

    Thank you .....anduril462 http://im.cprogramming.com/images/statusicon/user-online.png

    yah it should be ...

    for(cont=0;cont<N;cont++)

    but still it dosent work .....
  11. Replies
    6
    Views
    1,618

    when i enter any number like 3 i only get this...

    when i enter any number like 3

    i only get this line without sequences...

    Creating process sequence of length 3
  12. Replies
    6
    Views
    1,618

    oogabooga...

    oogabooga
    thanku .... do u mean like this ....

    but still therer is error ....




    #include <stdio.h>
    #include <sys/types.h>
  13. Thread: process sequence

    by zooro
    Replies
    10
    Views
    2,181

    process sequence

    hello ...I dont know if here is the right place for my question :
    Write a C program linear.c that creates a sequence of processes with a given length. By
    sequence it is meant that each created...
  14. Thread: fork ()

    by zooro
    Replies
    8
    Views
    2,057

    fork ()

    Consider the following C program.


    #include <stdio.h> int main() { int i; for (i=0;i<3;++i) { fork();fork(); } }


    How many processes are created when running this program (including the...
  15. Replies
    6
    Views
    1,618

    creat sequence process c programe unix

    hello ...I dont know if here is the right place for my question :
    Write a C program linear.c that creates a sequence of processes with a given length. By
    sequence it is meant that each created...
Results 1 to 15 of 15