Re: System init and OS eventq ensure

2016-12-10 Thread Christopher Collins
Darn, you're right. I'm writing these emails from my phone, and I didn't look at the code closely enough. For other packages, the start event only gets executed the first time the event queue gets used (as you said). I guess it has worked out in practice because the application uses the package

Re: System init and OS eventq ensure

2016-12-10 Thread Sterling Hughes
How do you assign an event queue if you are relying on the default event queue being there? Can you point me to an example of where this is done? Sterling > On Dec 10, 2016, at 12:08 PM, Christopher Collins wrote: > > The way other packages handle this is they

Re: GDB + SIM broken with macOS sierra

2016-12-10 Thread marko kiiskila
I have this running. But it’s not great. You need gdb 7.12.1 (you can get that with brew). Codesign your gdb; https://sourceware.org/gdb/wiki/BuildingOnDarwin And then I also had to make gdb owned by root with SUID bit set (Peter didn’t need to,

Re: System init and OS eventq ensure

2016-12-10 Thread Christopher Collins
The way other packages handle this is they enqueue the startup event when their event queue is assigned. This happens automatically when you call os_eventq_designate(); the last parameter is the event to enqueue immediately. Chris On Sat, Dec 10, 2016 at 11:30:27AM -0800, Sterling Hughes wrote:

GDB + SIM broken with macOS sierra

2016-12-10 Thread Sterling Hughes
I’m wondering if anyone else has seen this / worked around it? I can run SIM directly from command line, or under LLDB, but GBD seems to be broken? Sterling