Wednesday, March 03, 2010

Multi-Threading programming(Concurrent System)

Maybe some do not know that our system(PC) is cater to run multi-Threading a.k.a. multi-Tasking programs using the processor.

In this semester, I chose concurrent system as my university core as I have always wanted to know how/why/what about multi-threading programming. But the bad things do happen, i missed the first 2 important lessons due to my in-camp training. After i attended my first class after missing the first 2, I totally do not know what i have learnt.

It's not easy, straight forward traditional  programming like vb.net(Sequential). It's object-oriented - Java, multithreading, 

So far, i am done with my TMA question 1 and 2, and realize how important is multithreading system/programmng protocol is to this world. There are so many business/schools/games require that!

Anyway, i wont go into further details with concurrent system. Just do a google for 'concurrent system' and it will do you all good.

Below are 2 programs which i have created using simple blueJ(java sdk) for my TMA:

Coin change simple system(Unit in cents)























Voting System(Threaded)

No comments:

Post a Comment