Yes, indeed, I compiled my own program with lthread instead of lpthread and everything works now !!! thnx for the help, Brecht Vermeulen