Implementing a singleton class.

Does this mean an Arduino can be multithreaded? if so how? I thought arduino was single threaded only?

ALthough PaulS is right that the Arduino has no OS there are efforts in such that direction, see - http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1256745982