~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to mysys/my_pthread.h

  • Committer: Brian Aker
  • Date: 2008-10-15 06:16:05 UTC
  • mfrom: (511.1.3 codestyle)
  • Revision ID: brian@tangent.org-20081015061605-8bb3vss9m23dns5t
Monty merge

Show diffs side-by-side

added added

removed removed

Lines of Context:
105
105
#define my_sigset(A,B) signal((A),(B))
106
106
#endif
107
107
 
108
 
#ifndef my_pthread_setprio
109
 
#if defined(HAVE_PTHREAD_SETPRIO_NP)            /* FSU threads */
110
 
#define my_pthread_setprio(A,B) pthread_setprio_np((A),(B))
111
 
#elif defined(HAVE_PTHREAD_SETPRIO)
112
 
#define my_pthread_setprio(A,B) pthread_setprio((A),(B))
113
 
#else
114
 
extern void my_pthread_setprio(pthread_t thread_id,int prior);
115
 
#endif
116
 
#endif
117
 
 
118
108
#ifndef my_pthread_attr_setprio
119
109
#ifdef HAVE_PTHREAD_ATTR_SETPRIO
120
110
#define my_pthread_attr_setprio(A,B) pthread_attr_setprio((A),(B))