commit | author | age
|
aec47d
|
1 |
#ifndef _TIMESTEP_H |
SP |
2 |
#define _TIMESTEP_H |
4e56fe
|
3 |
#include<pthread.h> |
c9884c
|
4 |
|
SP |
5 |
typedef struct str_thdata |
|
6 |
{ |
50f10f
|
7 |
ts_uint thread_no; |
SP |
8 |
ts_uint threads; |
c9884c
|
9 |
ts_vesicle *vesicle; |
4e56fe
|
10 |
pthread_mutex_t *vtx_tainting_lock; |
50f10f
|
11 |
pthread_mutex_t *vtx_untainting_lock; |
c9884c
|
12 |
} thdata; |
SP |
13 |
|
|
14 |
|
|
15 |
void * single_timestep(void *thread_data); |
d7a113
|
16 |
ts_bool run_simulation(ts_vesicle *vesicle, ts_uint mcsweeps, ts_uint inititer, ts_uint iterations); |
aec47d
|
17 |
#endif |