~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/internal/my_pthread.h

  • Committer: Brian Aker
  • Date: 2011-04-21 06:25:01 UTC
  • mfrom: (2283.2.2 drizzle-ga)
  • Revision ID: brian@tangent.org-20110421062501-ar72kil0t91mp01q
Rollup.

Show diffs side-by-side

added added

removed removed

Lines of Context:
45
45
namespace internal
46
46
{
47
47
 
48
 
#define pthread_key(T,V) pthread_key_t V
49
 
#define pthread_handler_t void *
50
 
typedef void *(* pthread_handler)(void *);
51
 
 
52
48
#if !defined(HAVE_PTHREAD_YIELD_ONE_ARG) && !defined(HAVE_PTHREAD_YIELD_ZERO_ARG)
53
49
/* no pthread_yield() available */
54
50
#ifdef HAVE_SCHED_YIELD