[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Unblocking Fork



========================================================================
>  It would be
> SLOW but it would work.

 and to fix the annoying deadlocks thats just enough.  after all most
programs that fork() don't run parent and child in parallel for long...
========================================================================

Hmm .. Could the granularity of a fork'ed process be changed?  So that it
is run less often, but runs longer .. so its CPU time is the same, but 
the system switches tasks to or from a forked process (when it would so
all the memory copying) less often?   It seems like it could be alot of
memory copying, especially if parent and child are the only two tasks
in the run state - you'd be copying memory back n forth more than you
would be executing the program almost :-)