anchor.diff:    pid 14584's current affinity list: 3
     /opt/jdk1.8.0_141/bin/java ...
   
  -```
  +----
   
  -# Support Material
  +== Support Material
   
  -[Java Thread Affinity support group](https://groups.google.com/forum/?hl=en-GB#!forum/java-thread-affinity)
  +https://groups.google.com/forum/?hl=en-GB#!forum/java-thread-affinity[Java Thread Affinity support group]
   
   For an article on how much difference affinity can make and how to use it http://vanillajava.blogspot.com/2013/07/micro-jitter-busy-waiting-and-binding.html
   
  -# Questions and Answers
  +== Questions and Answers
   
  -## Question
  +=== Question
   I am currently working on a project related to deadlock detection in multithreaded programs in java. We are trying to run threads on different processors and thus came across your github posts regarding the same. https://github.com/peter-lawrey/Java-Thread-Affinity/wiki/Getting-started
   Being a beginner, I have little knowledge and thus need your assistance. We need to know how to run threads on specified cpu number and then switch threads when one is waiting. 
   
  -## Answer
  +=== Answer
   
   Use :
   
  -``` java
  +[source, java]
  +----
   AffinityLock.setAffinity (1L << n);
  -```
  +----
   
   where n is the cpu you want to run the thread on.
   
  
positive.code: 
  http://vanillajava.blogspot.co.uk/2013/07/micro-jitter-busy-waiting-and-binding.html
  
  ## isolcpus
  
  Java-Thread-Affinity requires that you first isolate some CPU's.
  
  
negative.code:    long currentAffinity = AffinitySupport.getAffinity();
     AffinitySupport.setAffinity(1L << 5); // lock to CPU 5.
     
  === Debugging affinity state
  
  For a detailed of view of the current affinity state (as seen by the library),
  execute the following script on Linux systems:
  
  [source]
  ----
  # change to the affinity lock-file directory (defaults to system property java.io.tmpdir)
  $ cd /tmp
  
  