>>708871>>708872>>708874>>708875I deleted everything and did what you told me to do and it works now, I don't know what was that.
Anyway it seems that the program is using way more CPU than it should (88%). I don't know whether it is related to pthread or not. Is there a tool that can tell me what is using all that CPU time? Or at least some good manual determination method?