Search Results

Search: Posts Made By: michael26100
Forum: Programming 05-20-2007
7,529
Posted By michael26100
answer
Well with threads it works perfectly ...
Forum: Programming 05-20-2007
2,157
Posted By michael26100
the answer
It was caused by the thing that the child was living(I thought it wasn't) and I was waiting while it ends, so it never could have 10 paralel processes...
Forum: Programming 05-19-2007
7,529
Posted By michael26100
replacing of the mutex with POSIX semaphore
Hi,
does anybody know, if it is possible to replace mutex with POSIX semaphore?
I'm gonna to rewrite old thread's program with processes and I don't want rewrite most of the code...So if I replace...
Forum: Programming 05-19-2007
2,157
Posted By michael26100
Thanks
Thanks,
Well, I tried to test it, but it didn't do anything(despite of the fact that you were right), but i tried to put the default section in comment like this:
default:;//... and I almost...
Forum: Programming 05-19-2007
2,157
Posted By michael26100
problems with fork() inheritating
Hi,
thanks for any ideas...
in main() i wrote this code:

...

for(i=0;i<10;i++){
pid=fork();
switch(pid){
case -1 printf("error");
case 0:child();
...
Showing results 1 to 5 of 5

 
All times are GMT -4. The time now is 09:29 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy