At 05:04 PM 3/10/2006 -0500, D D Allen wrote:
>It could also be that I'm missing something fundamental to Win32 threads 
>(as fork is reported to be implemented using threads under Win32) -- or 
>just about anything else :-).   If someone on this list can provide a 
>"fork" example that demonstrates that forked processes do in fact run 
>concurrently under Win32 (that doesn't resort to calling sleep to force 
>context switches), please post the example code.

What I would do is change the code instead of printing delta time, print
real time.  That way u can see if the code is executing in serial or merely
outputing in serial.  If it is executing concurrently the time() timestamps
will overlap.  If it's running in serial the lowest timestamp of the second
fork will be greater than the highest timestamp of the first fork.






--
REMEMBER THE WORLD TRADE CENTER         ---=< WTC 911 >=--
"...ne cede malis"

00000100

_______________________________________________
Perl-Win32-Users mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to