|
|
Author: dejan
Date: 2005-08-16 23:44:27 -0400 (Tue, 16 Aug 2005)
New Revision: 4521
Modified:
trunk/fltk/Threads.h
Log:
Windows version of create_thread is now inlined as suggested in STR#883 .
Modified: trunk/fltk/Threads.h
===================================================================
--- trunk/fltk/Threads.h 2005-08-17 03:06:13 UTC (rev 4520)
+++ trunk/fltk/Threads.h 2005-08-17 03:44:27 UTC (rev 4521)
@@ -142,7 +142,7 @@
typedef unsigned long Thread;
-int create_thread(Thread& t, void *(*f) (void *), void* p) {
+inline int create_thread(Thread& t, void *(*f) (void *), void* p) {
return t = (Thread)_beginthread((void( __cdecl * )( void * ))f, 0, p);
}
[ Direct Link to Message ] | |
|
| |