From ba2be02ab24d170bb03662a8a5f5893f0112aeb7 Mon Sep 17 00:00:00 2001 From: Michael R Sweet Date: Thu, 6 Dec 2001 22:16:49 +0000 Subject: FLTK 2.0 threading support under FLTK 1.1. Needs porting to OSX. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1819 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- FL/Fl.H | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'FL') diff --git a/FL/Fl.H b/FL/Fl.H index 2a9e606d9..0b0c99be4 100644 --- a/FL/Fl.H +++ b/FL/Fl.H @@ -1,5 +1,5 @@ // -// "$Id: Fl.H,v 1.8.2.11.2.6 2001/11/28 20:43:44 easysw Exp $" +// "$Id: Fl.H,v 1.8.2.11.2.7 2001/12/06 22:16:49 easysw Exp $" // // Main header file for the Fast Light Tool Kit (FLTK). // @@ -220,10 +220,16 @@ public: // Visible focus methods... static void visible_focus(int v) { visible_focus_ = v; } static int visible_focus() { return visible_focus_; } + + // Multithreading support: + static void lock(); + static void unlock(); + static void awake(void* message = 0); + static void* thread_message(); }; #endif // !Fl_H // -// End of "$Id: Fl.H,v 1.8.2.11.2.6 2001/11/28 20:43:44 easysw Exp $". +// End of "$Id: Fl.H,v 1.8.2.11.2.7 2001/12/06 22:16:49 easysw Exp $". // -- cgit v1.2.3