added signaling between threads with c
added signaling between threads demo with python