[gnomemm] Threads and Gtk::Main iteration



In writing a routine that uses pthreads to copy a large
file off the network and update a progress meter for the
download, I've found that I need to insert an gtk main loop iteration
request. However, half the time the code works and half the time it
fails. Anyone have any insite into why this occurs during a Gtk::Main*
M->iteration(TRUE) call?

Xlib: unexpected async reply (sequence 0x725)!
Gdk-ERROR **: BadShmSeg (invalid shared segment parameter)
  serial 1841 error_code 192 request_code 148 minor_code 2
Xlib: unexpected async reply (sequence 0x732)!


--
- Jeremy Dinsel
- somewhere in the monkey house




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]