sureendarraju
BAN USERuse join(1000). this method will make the newly spawned thread to die after 1sec
- sureendarraju October 04, 2011If you not able to detect the start and end of the circular linked list in a traversal, it will result in looping.
To avoid this detect the start and the end of the linked list. It can be done by,
Way -1
Have an temp variable pointing to your starting location. So when you iterate everytime check for the equality.
Way -2
Have two temp pointers. Pointers moves one location for every iteration and pointer b moves two locations for one iteration. The point where and b meets together is end of the linked list.
Note : Pointer B will have to be iterated twice.
Check for the exsistence of cycle path for that particular resource. If so, there exist deadlock.
It can be avoided by using checkpoints or by killing the particular thread.
It will be mapped to its IP address in the backend
- sureendarraju October 04, 2011
Repstacimdalton, Dev Lead at ASAPInfosystemsPvtLtd
At the moment I'm implementing Slinkies in the financial sector. My current pet project is researching break up a ...
Can I know what are the queries?
- sureendarraju November 08, 2011