main
| Rev | Line | |
|---|
| [aad342c] | 1 | #ifdef __CIVL_CIVLPTHREAD__
|
|---|
| 2 | #else
|
|---|
| 3 | #define __CIVL_CIVLPTHREAD__
|
|---|
| 4 |
|
|---|
| 5 | #include <civlc.cvh>
|
|---|
| 6 | #include "civlpthread.cvh"
|
|---|
| 7 | #include <concurrency.cvh>
|
|---|
| 8 |
|
|---|
| 9 | /* __pthread_pool_t struct definition
|
|---|
| 10 | Description: The pthread_pool_t is the pool where threads are stored in an array of pointers to threads
|
|---|
| 11 | in order to access them after creation
|
|---|
| 12 | */
|
|---|
| 13 | struct __pthread_pool_t{
|
|---|
| 14 | pthread_t** threads;
|
|---|
| 15 | int len;
|
|---|
| 16 | };
|
|---|
| 17 |
|
|---|
| 18 | #endif
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.