nanogui: Multi Threading in nano-X
Subject:
Re: [nanogui] Multi Threading in nano-X
From:
"Greg Haerr" ####@####.####
Date:
30 Apr 2004 06:36:31 +0100
Message-Id: <07f101c42e75$19dece20$3aba46a6@xmission.com>
: I followed them and I am able to run a small sample tcl/tk application
: which displays a window using nano-X.
Cool - nxlib works for tck/tk with no prior testing!
:
: Now I am using XInitThreads() in my application.
: This method initializes Xlib support for concurrent threads.
:
: I am working with posix threads , so this is a must.
: (I crash in my original app if not placing this call before any other tcl
: method call).
You'll need to add XInitThreads() to the nxlib stubs.c file.
Nano-X doesn't require anything special for initialization, so a no-op
stub should work.
Regards,
Greg