~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to include/my_pthread.h

  • Committer: Brian Aker
  • Date: 2008-06-28 01:01:34 UTC
  • Revision ID: brian@tangent.org-20080628010134-n44ixrdgb6yexhkb
Remove my_pthread_getspecific_ptr()

Show diffs side-by-side

added added

removed removed

Lines of Context:
150
150
#define pthread_cond_timedwait(A,B,C) my_pthread_cond_timedwait((A),(B),(C))
151
151
#endif
152
152
 
153
 
#if !defined( HAVE_NONPOSIX_PTHREAD_GETSPECIFIC)
154
 
#define my_pthread_getspecific(A,B) ((A) pthread_getspecific(B))
155
 
#else
156
 
#define my_pthread_getspecific(A,B) ((A) my_pthread_getspecific_imp(B))
157
 
void *my_pthread_getspecific_imp(pthread_key_t key);
158
 
#endif
159
 
 
160
153
#ifndef HAVE_LOCALTIME_R
161
154
struct tm *localtime_r(const time_t *clock, struct tm *res);
162
155
#endif