Hello Manjunath, I have used your code with success on linux. Thanks for that. However, the mingw cross compilers on debian do not seem to have semaphore.h on board. Have you prepared a new patch without semaphores? You suggested as much, but I looked in the thread and could not find anything. - Bartels