Look at the GEM OSX code for mouse and keyboard events hacking. Getting the required data doesn't always require the by the book event loops. <br><br><div class="gmail_quote">On Tue, Mar 25, 2008 at 4:22 PM, Hans-Christoph Steiner <<a href="mailto:hans@eds.org">hans@eds.org</a>> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
So does this scheduler then completely override the built-in one? I<br>
am trying to find a way to deal with Apple Carbon CFRunLoops, which<br>
are needed by the IOBluetooth API in order to get the data from the<br>
devices at regular intervals.<br>
<br>
Carbon apps all have one built-in, it is the main event loop, but<br>
since 'pd' is separate from its GUI, the CFRunLoop is in the pd-gui<br>
Tcl/Tk process, and therefore the wiiremote object can't hook into it.<br>
<br>
.hc<br>
<div><div></div><div class="Wj3C7c"><br>
On Mar 24, 2008, at 7:17 PM, Miller Puckette wrote:<br>
> It was working as of 0.37 (got used in PdVST) but I haven't tested it<br>
> for years, and of course I might have broken it moving it to<br>
> s_loader.c.<br>
> I'm now planning a pd object that starts a subsidiary Pd process<br>
> which will<br>
> almost certainly have to plug in an alternate scheduler, so we should<br>
> know within a few months...<br>
><br>
> cheers<br>
> Miller<br>
><br>
> On Mon, Mar 24, 2008 at 07:12:24PM -0400, Hans-Christoph Steiner<br>
> wrote:<br>
>><br>
>> I meant, is the schedlib stuff working.<br>
>><br>
>> .hc<br>
>><br>
>> On Mar 24, 2008, at 4:22 PM, Miller Puckette wrote:<br>
>>> I've never tried pdj (don't use java) so don't know.<br>
>>><br>
>>> cheers<br>
>>> M<br>
>>><br>
>>> On Mon, Mar 24, 2008 at 04:15:34PM -0400, Hans-Christoph Steiner<br>
>>> wrote:<br>
>>>><br>
>>>> It seems that the pdj (mxj clone) code uses it. Is it functional?<br>
>>>><br>
>>>> .hc<br>
>>>><br>
>>>> On Mar 24, 2008, at 3:06 PM, Miller Puckette wrote:<br>
>>>>> That's me trying to facilitate plugging in alternative schedulers<br>
>>>>> (threaded ones for instance :)<br>
>>>>><br>
>>>>> M<br>
>>>>><br>
>>>>> On Sat, Mar 22, 2008 at 01:43:03AM -0400, Hans-Christoph Steiner<br>
>>>>> wrote:<br>
>>>>>><br>
>>>>>> I just noticed this new code in s_loader.c and pdj. Is there any<br>
>>>>>> explanation of what it is anywhere? I couldn't find it. But<br>
>>>>>> from<br>
>>>>>> what I read in pdj about it, it sounds useful for me elsewhere.<br>
>>>>>><br>
>>>>>> .hc<br>
>>>>>><br>
>>>>>><br>
>>>>>> -----------------------------------------------------------------<br>
>>>>>> --<br>
>>>>>> --<br>
>>>>>> ---<br>
>>>>>> ----<br>
>>>>>><br>
>>>>>> 'You people have such restrictive dress for women,? she said,<br>
>>>>>> hobbling away in three inch heels and panty hose to finish out<br>
>>>>>> another pink-collar temp pool day. - ?Hijab Scene #2", by Mohja<br>
>>>>>> Kahf<br>
>>>>>><br>
>>>>>><br>
>>>>>><br>
>>>>>> _______________________________________________<br>
>>>>>> PD-dev mailing list<br>
>>>>>> <a href="mailto:PD-dev@iem.at">PD-dev@iem.at</a><br>
>>>>>> <a href="http://lists.puredata.info/listinfo/pd-dev" target="_blank">http://lists.puredata.info/listinfo/pd-dev</a><br>
>>>><br>
>>>><br>
>>>><br>
>>>> -------------------------------------------------------------------<br>
>>>> --<br>
>>>> ---<br>
>>>> ----<br>
>>>><br>
>>>> All information should be free. - the hacker ethic<br>
>>>><br>
>>>><br>
>>>><br>
>><br>
>><br>
>><br>
>> ---------------------------------------------------------------------<br>
>> ---<br>
>> ----<br>
>><br>
>> The arc of history bends towards justice. - Dr. Martin Luther<br>
>> King, Jr.<br>
>><br>
<br>
<br>
</div></div>------------------------------------------------------------------------<br>
----<br>
<br>
Access to computers should be unlimited and total. - the hacker ethic<br>
<div><div></div><div class="Wj3C7c"><br>
<br>
<br>
_______________________________________________<br>
PD-dev mailing list<br>
<a href="mailto:PD-dev@iem.at">PD-dev@iem.at</a><br>
<a href="http://lists.puredata.info/listinfo/pd-dev" target="_blank">http://lists.puredata.info/listinfo/pd-dev</a><br>
</div></div></blockquote></div><br>