An example for multi threading detection