diff options
author | Thomas Grill <xovo@users.sourceforge.net> | 2003-11-10 03:42:03 +0000 |
---|---|---|
committer | Thomas Grill <xovo@users.sourceforge.net> | 2003-11-10 03:42:03 +0000 |
commit | 8a2c6d3d86df5076510e02315b354b3194e243e1 (patch) | |
tree | 3dcd8a5d977932f65982851c0f24d989787f4b9a /externals/grill/flext/source/flqueue.cpp | |
parent | d60f7df8256c9326c08ce207efe4b5609bc64571 (diff) |
""
svn path=/trunk/; revision=1176
Diffstat (limited to 'externals/grill/flext/source/flqueue.cpp')
-rwxr-xr-x | externals/grill/flext/source/flqueue.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/externals/grill/flext/source/flqueue.cpp b/externals/grill/flext/source/flqueue.cpp index a75b4a89..ee1da752 100755 --- a/externals/grill/flext/source/flqueue.cpp +++ b/externals/grill/flext/source/flqueue.cpp @@ -19,6 +19,9 @@ WARRANTIES, see the file, "license.txt," in this distribution. #include "flext.h" #include "flinternal.h" +//! Thread id of message queue thread +flext::thrid_t flext::thrmsgid = 0; + class qmsg { public: @@ -237,8 +240,9 @@ static void Queue(qmsg *m) } #ifdef FLEXT_QTHR -void QWorker(flext::thr_params *) +void flext_base::QWorker(thr_params *) { + thrmsgid = GetThreadId(); for(;;) { qthrcond.Wait(); QWork(true,true); |