iPhone will miss Java

The java mobile developer community will miss iphone for the moment. If the sources are to be believed, there won’t be java support in Apple’s hugely awaited iPhone. In an interview with German magazine MacWelt, Steve Jobs said:
Java’s not worth building in [to the phone]. Nobody uses Java anymore. It’s this big heavyweight ball and [...]

Semaphore Basics

Semaphore is a mechanism to achieve mutual exclusion in multi threaded application. The way to make threads synchronized. Semaphore is introduces by Edsger Dijkstra. This sample implementation uses an integer as the semaphore variable which can have any of the two values at any point of time – 1 (FREE) or 0 (BUSY).
Each time when a thread needs to [...]