Added code using VPtr to be able to extract info from linux thread