In our previous episode, Sven Barth said: > > How about creating > > > > a) A native TThreadManager record in system unit for unices. > > I don't think this can be done for all Unix systems in a generic way, > because e.g. on Linux you should use the "clone" syscall (which is Linux > only)
FreeBSD supports rfork, which has similar functionality (the subset (?) implemented by "Clone" in the linuxator is implemented by a rfork call Yrying to build on the clone call has been done in 1.0.x times, and I don't have fond memories about it. > while on e.g. Mac OS X you should rely on the c library cause the > syscall interface might be changed by Apple (@OS X devs: please correct > me if this is wrong). First we would have to get rid of "this solution in search of a problem" attitude. _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal