In our previous episode, Mattias G?rtner said: > Yes, that works under Linux. But the documentation does not mention it, so I'm > not sure if this works under all platforms. > Maybe some other OS users can try if the following code runs through:
Uses cthreads; > var > e: PRTLEvent; > begin > e:=RTLEventCreate; > RTLeventSetEvent(e); > RTLeventWaitFor(e); > RTLeventdestroy(e); > end; > > If this is guaranteed then my problem is already solved and the code work as > it > is. But then the documentation must mention it. > Who knows if this is a documentation bug or a linux bug? Runs through on FreeBSD. _______________________________________________ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel