Showing posts with label Threads. Show all posts
Showing posts with label Threads. Show all posts

Sunday, October 11, 2015

Processes vs. Threads in Java


In concurrent programming there are two basic units of execution : processes and threads.
The main point of using concurrent programming is to have the ability of multitasking . Multitasking is a process of executing multiple tasks simultaneously. 

Generate a unique N letters word sequence (by using relationship between Factoradic base system and Lexicographic Permutation Order of a String)

Lets say that you want to generate a unique 3 letters code sequence to be used as a primary key for some data recodes. Also let assume ...