I found the problem and am reporting it here in case anyone else needs the 
solution.  The code generated by StreamIt for the cluster case doesn't call 
pthread_attr_init to initialize the thread attributes.  The calls to spawn the 
threads then fail because the attributes are illegal.  Presumably the 
attributes have valid default values when created under Linux,  but not under 
Windoze/Cygwin?  Adding in the missing calls allows the example to work 
properly.   Unfortunately these files are generated mechanically each time the 
streamit compiler is run, so you have to keep editing and recompiling the 
results.  However, it's easy to just add the missing initialization statement 
to the GenerateMasterDotCpp.java in ...\src\at\dms\kjc\cluster.  Rebuilding 
StreamIt then fixes the problem.

Kevin



_______________________________________________
StreamIt-users mailing list
[email protected]
https://lists.csail.mit.edu/mailman/listinfo/streamit-users

Reply via email to