~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/internal/my_pthread.h

  • Committer: Monty Taylor
  • Date: 2011-01-26 19:15:55 UTC
  • mto: This revision was merged to the branch mainline in revision 2126.
  • Revision ID: mordred@inaugust.com-20110126191555-nq5nnzyscvngsip2
Turns on -fvisibility=hidden by default. Symbols intended to be used by
plugins need to be marked with DRIZZLED_API.

Show diffs side-by-side

added added

removed removed

Lines of Context:
15
15
 
16
16
/* Defines to make different thread packages compatible */
17
17
 
 
18
 
 
19
 
18
20
#ifndef DRIZZLED_INTERNAL_MY_PTHREAD_H
19
21
#define DRIZZLED_INTERNAL_MY_PTHREAD_H
20
22
 
37
39
#include <synch.h>
38
40
#endif
39
41
 
 
42
#include "drizzled/visibility.h"
 
43
 
40
44
namespace drizzled
41
45
{
42
46
namespace internal
106
110
 
107
111
extern bool my_thread_global_init(void);
108
112
extern void my_thread_global_end(void);
109
 
extern bool my_thread_init(void);
110
 
extern void my_thread_end(void);
 
113
DRIZZLED_API bool my_thread_init(void);
 
114
DRIZZLED_API void my_thread_end(void);
111
115
extern const char *my_thread_name(void);
112
116
 
113
117
/* All thread specific variables are in the following struct */