version 1.08

Modify the multi-thread version to protect the get and set
sharedVariable.