~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 05:26:20 UTC
  • Revision ID: brian@tangent.org-20080628052620-kglj1hb5cggw8h3r
Second pass on pthread cleanup

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
 
#ifndef HAVE_LOCALTIME_R
154
 
struct tm *localtime_r(const time_t *clock, struct tm *res);
155
 
#endif
156
 
 
157
 
#ifndef HAVE_GMTIME_R
158
 
struct tm *gmtime_r(const time_t *clock, struct tm *res);
159
 
#endif
160
 
 
161
 
#ifdef HAVE_PTHREAD_CONDATTR_CREATE
162
 
/* DCE threads on HPUX 10.20 */
163
 
#define pthread_condattr_init pthread_condattr_create
164
 
#define pthread_condattr_destroy pthread_condattr_delete
165
 
#endif
166
 
 
167
153
/* FSU THREADS */
168
154
#if !defined(HAVE_PTHREAD_KEY_DELETE) && !defined(pthread_key_delete)
169
155
#define pthread_key_delete(A) pthread_dummy(0)
470
456
extern void my_thread_end(void);
471
457
extern const char *my_thread_name(void);
472
458
extern my_thread_id my_thread_dbug_id(void);
473
 
extern int pthread_no_free(void *);
474
 
extern int pthread_dummy(int);
475
459
 
476
460
/* All thread specific variables are in the following struct */
477
461