some deadlock demo with C