-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Multithreading
Mission Peace edited this page Mar 16, 2017
·
3 revisions
- Executor service example - ThreadPoolExample.java
- Thread pool implementation - ThreadPoolImpl.java
- Given a queue which gets millions of messages. Message is of form <Domain,Update>.You have 10000 domain tables. Also you have 50 worker threads. You can only get data from front of the queue. Threads get data from the front and then update the domain table - SingleQueueDomainTableUpdate.java
- Design a spinlock mutex using two varialbles - SpinLockMutex.java
- Design threadsafe real time counter - RealTimeCounter.java
- Design threadsafe program to keep counts of word - CountingWord.java
- Fill up 2D boolean matrix in thread safe way from top left to bottom right - FillupMatrix.java
- Design threadsafe program to keep min and max - MinMaxKeeper.java
- BoundedBlockingQueue implementation(producer consumer) - BoundedBlockingQueue.java
- Implement increasing decreasing number printing - PrintInSequence.java
- Dependency task in parallel - DependencyTaskExecutor.java