add multiprocess c example
small addaptions