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