astyle --recursive --indent=spaces=2 --style=kr --indent-col1-comments --break-blocks --convert-tabs --max-code-length=200

This is done for better merging branch/LG_PRE_RELEASE_0.3 into trunk (same process is applied on this branch)

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@7073 818b1a75-f10b-46b9-bf7c-635c3b92a50f
This commit is contained in:
Lionel Gauthier
2015-04-09 09:29:12 +00:00
parent f0a8a0b3b5
commit 059a0a3fdc
2044 changed files with 1182666 additions and 1145123 deletions
+7 -7
View File
@@ -48,24 +48,24 @@ struct threadpool_t {
pthread_mutex_t lock; // used to get / put a job in the queue, protect job_queue
pthread_mutex_t sync_lock; // used when there is a dependancy between two consecutive jobs, protect active
pthread_cond_t notify; // wakup threads
pthread_cond_t sync_notify; // last worker sends this
pthread_cond_t sync_notify; // last worker sends this
pthread_t *threads;
Job_List job_queue;
int thread_count;
int count; // ????
int shutdown; // end of sim/emu
int started; // total number of thread started , after init: started == count
int started; // total number of thread started , after init: started == count
int active; // num active threads
};
typedef struct threadpool_t threadpool_t;
typedef enum {
threadpool_invalid = -1,
threadpool_lock_failure = -2,
threadpool_queue_full = -3,
threadpool_shutdown = -4,
threadpool_thread_failure = -5
threadpool_invalid = -1,
threadpool_lock_failure = -2,
threadpool_queue_full = -3,
threadpool_shutdown = -4,
threadpool_thread_failure = -5
} threadpool_error_t;
/**