Hi,
Encouraged by Vincent I made an attempt to implement the Chameneos benchmark of the Shootout. It turned out to be really hard, because we don't have real semafores (which makes it for example impossible to translate the C version).
However, with the RTLevent* routines, it is possible to implement it. I have a final problem I'm unable to solve at this time. When all threads exit, one of the threads still hangs in a RTLeventwaitfor call. We don't know which one.
The trick is to get it out of its wait state in a safe way. My currect solution (a set event call when the end is eached) sometimes fails, depending on the weather or something.
If anyone wants to take a look, the source is attached.
Daniël
