struct bio_job {
int type; /* Job type, for instance BIO_JOB_CLOSE */
void *data; /* Job specific arguments pointer. */
struct bio_job {
int type; /* Job type, for instance BIO_JOB_CLOSE */
void *data; /* Job specific arguments pointer. */
- pthread_mutex_init(bio_mutex,NULL);
- pthread_cond_init(bio_condvar,NULL);
+ pthread_mutex_init(&bio_mutex,NULL);
+ pthread_cond_init(&bio_condvar,NULL);
if (!stacksize) stacksize = 1; /* The world is full of Solaris Fixes */
while (stacksize < REDIS_THREAD_STACK_SIZE) stacksize *= 2;
pthread_attr_setstacksize(&attr, stacksize);
if (!stacksize) stacksize = 1; /* The world is full of Solaris Fixes */
while (stacksize < REDIS_THREAD_STACK_SIZE) stacksize *= 2;
pthread_attr_setstacksize(&attr, stacksize);