GNU bug report logs -
#18705
24.3.93; Hang in ns_select -> [NSApp run] -> oo
Previous Next
Reported by: Jim Radford <radford <at> blackbean.org>
Date: Mon, 13 Oct 2014 07:16:02 UTC
Severity: normal
Found in version 24.3.93
Done: Jan Djärv <jan.h.d <at> swipnet.se>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
Hi.
Don't remove the debbugs address.
15 okt 2014 kl. 20:59 skrev Jim Radford <radford <at> blackbean.org>:
>
> What doesn't make sense is running two main loops in the same thread
> and trying to alternatively spin on one (EmacsApp run) and then the
> other (select) without knowing which might produce the next event.
> That is guaranteed to fail, as I am seeing.
Probably. That is why we don't do that.
>
> I'm going to guess that you can't register file descriptors with the
> Cocoa main loop nor get a file descriptor from it that you can pass to
> select? Could we instead spawn a thread just to run select() in a
> loop, passing the results to the main thread as a Cocoa event? Or
> visa versa?
We do that.
Jan D.
This bug report was last modified 10 years and 68 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.