Upload Code
loading-left
loading loading loading
loading-right

Loading

Profile
No self-introduction
codes (2)
Hash algorithms source code and test
no vote
1. using the GCC compiler to compile the test.c gcc test.c -o test Running./test test 2. When you are programming, please refer to test.c A) contains the header file # include "hash.h" B) complement the hashKey and comparison functions 3. you can put any data in a hash queue
monk_lee
2016-08-23
1
1
Thread pool implementation
no vote
Class Pool manages requests from clients. management is storing requests in a priority queue and executing them in paralel. the maximum number of executed requests in paralel is max - variable of ctor. Run function opens a new thread called the main thread, which does the management. Enqueue function adds a new request to a pool, this function is thread safe. Wait function is blocking until all(or spesific request) requests are ended.
monk_lee
2016-08-23
0
1
No more~