Implement the corresponding extensions to the Symbian OS threading example as was introduced for Java, i.e., a class encapsulating the shared variable. Then compare the performance of threading of Java and Symbian OS. Add also additional threads and implement mutual exclusion in terms of Synchronize operations and semaphores. How will these affect the comparison?