Dear All! As I have already read in archives, thread support in GPC is missing now. I know that I can "feel free to implement it myself" but, unfortunately, I am rather a compiler user than a creator, I'm not a such guru (at least, for the time being). Anyway, I've already built the program in GPC using pthreads library (using modules on C as an interface to pthreads library) and it works (at first glance). As far as I know, one of the potential damages with multithreaded programs written in GPC is working with files, isn't it? Would you please clarify me other issues (potential damages) of such kind to avoid them from the program or at least to know about them? I mean such kinds of activity which use global (system) variables that are not synchronized, etc. And another question: is it possible to use in some way pthread datatypes in GPC Pascal programs? For example, is it possible to define variable of type pthread_mutex_t in Pascal program? I know how to export variable from C unit or library, but is it possible to export datatype or anything like that? Thank you, Igor Marnat marny@rambler.ru