[Library] r4521 - trunk/fltk

FLTK matrix user chat room
(using Element browser app)   FLTK gitter user chat room   GitHub FLTK Project   FLTK News RSS Feed  
  FLTK Apps      FLTK Library      Forums      Links     Login 
 All Forums  |  Back to fltk.commit  ]
 
Previous Message ]Next Message ]

[Library] r4521 - trunk/fltk fltk-dev Aug 16, 2005 top right image
 
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 ]
 
bottom left image   bottom right image
Previous Message ]Next Message ]
 
 

Comments are owned by the poster. All other content is copyright 1998-2024 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.