home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!elroy.jpl.nasa.gov!swrinde!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!att!ucbvax!bloom-beacon!INTERNET!dont-send-mail-to-path-lines
- From: converse@expo.lcs.mit.EDU (Donna Converse)
- Newsgroups: comp.windows.x
- Subject: Re: Many event handlers
- Message-ID: <9208121541.AA12799@excess.lcs.mit.edu>
- Date: 12 Aug 92 15:41:21 GMT
- References: <17429@autodesk.COM>
- Sender: daemon@athena.mit.edu (Mr Background)
- Organization: X Consortium, MIT Laboratory for Computer Science
- Lines: 24
-
-
- Problem with R4 Xt event handlers:
-
- > I'm having a strange weirdness with event handlers and I was
- > wondering if anyone out there could help. I'm posting multiple
- > event handlers onto a window and many of them will trigger at
- > once. If > 98 events trigger at one time, my application instantly
- > seg faults before calling the first event handler. With 98 events
- > or less, each handler gets called properly. It seems that the
- > program is crashing inside the event dispatcher. Does anyone out
- > there know of an upper limit to the number of events allowed to be
- > simultaneously dispatched by X.
-
- Everywhere above, "events" should be replaced by "event handlers".
-
- There should be no upper limit on the number of event handlers allowed to
- be registered for a single window. In the R4 Intrinsics library, registering
- close to 100 event handlers for any single window will cause an internal Xt
- data structure to overflow. The implementation, in Event.c, assumed a
- static maximum number of event handlers. Fixed in R5.
-
-
- Donna Converse
- MIT X Consortium
-