Revision 1235 branches/threaded2merge/src/linad99/adthread.h

adthread.h (revision 1235)
1 1
#if !defined(__ADXTHREAD__)
2
#define __ADXTHREAD__ 
2
#define __ADXTHREAD__
3 3

  
4 4
#include <unistd.h>     /* Symbolic Constants */
5
#include <sys/types.h>  /* Primitive System Data Types */ 
5
#include <sys/types.h>  /* Primitive System Data Types */
6 6
#include <errno.h>      /* Errors */
7 7
#include <stdio.h>      /* Input/Output */
8 8
#include <stdlib.h>     /* General Utilities */
......
11 11

  
12 12
typedef ofstream * pofstream;
13 13
typedef void* (*pthreadfun)(void*);
14
typedef pthreadfun * ppthreadfun;
15
typedef pthread_mutex_t * ppthread_mutex_t;  
16
typedef pthread_cond_t * ppthread_cond_t;
14
typedef pthreadfun* ppthreadfun;
15
typedef pthread_mutex_t* ppthread_mutex_t;
16
typedef pthread_cond_t* ppthread_cond_t;
17 17

  
18 18
class new_thread_data
19 19
{
......
35 35
  pofstream* logfiles;
36 36
  ppthreadfun ppf;
37 37
public:
38
  adpthread_manager(int ns,int bs);
39
  adpthread_manager(int ngroups,ivector& group_num,int bs);
38
  adpthread_manager(int ns, int bs);
39
  adpthread_manager(int ngroups, ivector& group_num, int bs);
40 40
  virtual ~adpthread_manager() {}
41 41

  
42 42
public:

Also available in: Unified diff