• Main Page
  • Modules
  • Data Structures
  • Files
  • File List
  • Globals

thread_pthread.h

Go to the documentation of this file.
00001 /**********************************************************************
00002 
00003   thread_pthread.h -
00004 
00005   $Author: naruse $
00006 
00007   Copyright (C) 2004-2007 Koichi Sasada
00008 
00009 **********************************************************************/
00010 
00011 #ifndef RUBY_THREAD_PTHREAD_H
00012 #define RUBY_THREAD_PTHREAD_H
00013 
00014 #include <pthread.h>
00015 #ifdef HAVE_PTHREAD_NP_H
00016 #include <pthread_np.h>
00017 #endif
00018 typedef pthread_t rb_thread_id_t;
00019 typedef pthread_mutex_t rb_thread_lock_t;
00020 typedef pthread_cond_t rb_thread_cond_t;
00021 
00022 typedef struct native_thread_data_struct {
00023     void *signal_thread_list;
00024     pthread_cond_t sleep_cond;
00025 } native_thread_data_t;
00026 
00027 #endif /* RUBY_THREAD_PTHREAD_H */
00028 

Generated on Sat Jul 7 2012 15:29:24 for Ruby by  doxygen 1.7.1