X-Git-Url: https://feistymeow.org/gitweb/?p=feisty_meow.git;a=blobdiff_plain;f=nucleus%2Flibrary%2Fprocesses%2Fethread.h;fp=nucleus%2Flibrary%2Fprocesses%2Fethread.h;h=64200f3a3c3cf8fec4c3d5a72289542537cebffe;hp=ddc11f8419a47a89bdaae421cc093762d499afa5;hb=de0da7f2f7958d4ba652ff2ef5c79991700141ac;hpb=a4c99c6006b3aa20b5f65f02c2d30db7e790083a diff --git a/nucleus/library/processes/ethread.h b/nucleus/library/processes/ethread.h index ddc11f84..64200f3a 100644 --- a/nucleus/library/processes/ethread.h +++ b/nucleus/library/processes/ethread.h @@ -148,24 +148,24 @@ private: bool _thread_active; //!< is the thread currently performing? bool _stop_thread; //!< true if the thread should stop now. void *_data; //!< holds the thread's link back to whatever. -#ifndef _MSC_VER +//#ifndef _MSC_VER pthread_t *_handle; //!< thread structure for our thread. -#else - uintptr_t _handle; //!< thread handle for the active thread, or zero. -#endif +//#else + //uintptr_t _handle; //!< thread handle for the active thread, or zero. +//#endif int _sleep_time; //!< threads perform at roughly this interval. bool _periodic; //!< true if this thread should run repeatedly. timely::time_stamp *_next_activation; //!< the next time perform_activity is called. timed_thread_types _how; //!< how is the period evaluated? // the OS level thread functions. -#ifndef _MSC_VER +//#ifndef _MSC_VER static void *periodic_thread_driver(void *hidden_pointer); static void *one_shot_thread_driver(void *hidden_pointer); -#else - static void periodic_thread_driver(void *hidden_pointer); - static void one_shot_thread_driver(void *hidden_pointer); -#endif +//#else + //static void periodic_thread_driver(void *hidden_pointer); + //static void one_shot_thread_driver(void *hidden_pointer); +//#endif // forbidden. ethread(const ethread &);