diff options
| author | Matthias Melcher <fltk@matthiasm.com> | 2007-01-18 22:48:19 +0000 |
|---|---|---|
| committer | Matthias Melcher <fltk@matthiasm.com> | 2007-01-18 22:48:19 +0000 |
| commit | 8e7e4167835186b2aab81c4e87153c574ff83466 (patch) | |
| tree | ac7477a7e08300317717a84b94ac2527ec26c94e /documentation/Fl.html | |
| parent | bb6f36cffe66509ebcc6da6d1a8d98cf48a0b749 (diff) | |
Added chapter 10 with documentation about multithreading
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5621 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'documentation/Fl.html')
| -rw-r--r-- | documentation/Fl.html | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/documentation/Fl.html b/documentation/Fl.html index 8cd78507a..281ef7b8a 100644 --- a/documentation/Fl.html +++ b/documentation/Fl.html @@ -395,6 +395,13 @@ main thread, causing any pending <TT>wait()</TT> call to terminate so that the main thread can retrieve the message and any pending redraws can be processed. +<P>Multiple calls to <TT>awake()</TT> will overwrite the same +message pointer. +<A HREF="#Fl.thread_message"><TT>thread_message()</TT></A> only returns +the last message stored by the last <TT>awake()</TT> call. + +<P>See also: <a href="advanced.html#multithreading">multithreading</a> + <H4><A NAME="Fl.background2">void background2(uchar, uchar, uchar);</A></H4> <P>Changes the alternative background color. This color is used as a @@ -961,6 +968,8 @@ wait until all child threads have called <A HREF="#Fl.unlock"><TT>unlock()</TT></A> before processing additional data. +<P>See also: <a href="advanced.html#multithreading">multithreading</a> + <H4><A NAME="Fl.modal">Fl_Window* modal();</A></H4> <P>Returns the top-most <tt>modal()</tt> window currently shown. @@ -1236,6 +1245,8 @@ Fl_Widget::test_shortcut()</tt></A>. that was sent from a child by the <A HREF="#Fl.awake"><TT>awake()</TT></A> method. +<P>See also: <a href="advanced.html#multithreading">multithreading</a> + <H4><A NAME="Fl.unlock">void unlock();</A></H4> <P>The <TT>unlock()</TT> method releases the lock that was set @@ -1243,6 +1254,8 @@ using the <A HREF="#Fl.lock"><TT>lock()</TT></A> method. Child threads should call this method as soon as they are finished accessing FLTK. +<P>See also: <a href="advanced.html#multithreading">multithreading</a> + <H4><A NAME="Fl.version">double version();</A></H4> <P>Returns the compiled-in value of the FL_VERSION constant. This |
