W dniu 04.03.2016, pią o godzinie 18∶33 -0500, użytkownik Rich Felker napisał: > The thread API I am implementing differs much to pthreads, which > > required a lot of glue code translating one API to another and felt > > hand wrenching. > Are you sure? The only functions you really need to use pthreads are > pthread_create and one of either pthread_join or pthread_detach. Well... I still have the source of the previous attempt of implementing this API over standard glibc on disk. And it is ugly. But it is possible that it's just a matter of this particular implementation. Unfortunately the original author is MIA. With the experience on doing it on raw clone and futex and knowledge you just provided in this thread, it should not be that ugly this time around. :) -- /o__ FORTUNE PROVIDES QUESTIONS FOR THE GREAT ANSWERS: #31 (_<^' A: Chicken Teriyaki.