Attention: the list was moved to
https://github.com/dypsilon/frontend-dev-bookmarks
This page is not maintained anymore, please update your bookmarks.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* definition of thread argument passed to pool wrapper*/ | |
typedef struct { | |
thread_pool *pool; | |
uint64_t id; | |
} thread_argument; | |
////////////////////////////////////////////////////////////// | |
// thread_pool_wrapper: thread start routine waiting for tasks | |
// to execute | |
///////////////////////////////////////////////////////////// |
NewerOlder