[comp.windows.x] Xt work procs and long call backs

aed@netcom.COM (Andrew Davidson) (04/07/91)

HI
I need some advice. The application I am writting has several very
long call backs. What should I do.

I look at the example of work procs on page 151 in D. Youngs "The X
Window System programming and applications with Xt". It appears that
the work proc must be designed so that it completes it work quickly.
It also appears that the work proc is not re-enterent.

My callback needs to make some very expensive calls to a releational
data base. (I do not thinwork procs will work for me)

I am using c++, and had though of using the task library to simiulate
mulit process running in paralle.

Any thought or ideas would be of great help

thanks Andy

-- 
-----------------------------------------------------------------
                  "bede-bede-bede Thats all Folks"
				Porky Pig
Andy Davidson
Woodside CA.
aed@netcom.COM
-----------------------------------------------------------------