If you have a crash when you call receive, then you likely have larger problems than when the right time to call schedule is.
I don't think it's possible to divine what is going wrong, and expect you need to provide a reproduction case. Cheers On 9/10/14, Robert Babiak <rbab...@gmail.com> wrote: > Dear wise stackless list, I need some of your wisdom. > > I am trying to make raw_input play nice with the stackless scheduler and > not block with my embedded stackless. > > I set the PyOS_InputHook to get what amounts to an idle event but when I > call PyStackless_Schedule(PY_None, 0) it crashes (no stackless symbols...) > > Is there something I need to check to know if it is safe to call the > scheduler from C? > > In general when is it safe to call PyStackless_Schedule? > > I tried to call my BeNice to block and get woken up later, but this also > crashes when trying to receive on my BeNice channel. > > - Thanks Rob. > -- > Life: Bah, I will worry about it when it is over. > _______________________________________________ Stackless mailing list Stackless@stackless.com http://www.stackless.com/mailman/listinfo/stackless