Re: Matching Multiple Services?
Re: Matching Multiple Services?
- Subject: Re: Matching Multiple Services?
- From: "Duane Murphy" <email@hidden>
- Date: Wed, 1 Aug 2007 10:00:49 -0700
--- At Wed, 1 Aug 2007 09:45:10 -0700, Michael Smith wrote:
>
>On Aug 1, 2007, at 9:05 AM, Duane Murphy wrote:
>
>> Thanks Mike, unfortunately, My understanding is that adding multiple
>> items to the dictionary leads to a logical-AND match.
>
>You're correct; my apologies for getting confused on this one.
>
>> That is if I put
>> three different class name match choices into the dictionary, the
>> match
>> will be for all three at once, which of course would match none of
>> the items.
>>
>> Is there some logic that I am missing here?
>
>No; I'm guessing that you're probably stuck with checking several
>times and doing the OR yourself.
>
>Since matching isn't something you would do very often (otherwise,
>you might want to consider using notifications), is there some other
>complication involved, or are you just concerned about cost and
>complexity?
Actually it was for Notifications. I figured it would be more efficient
to use a single OR matching Notification.
Also, I believe you can use OR in a kext by replacing the dictionary
with an array, but i guess that only works for kext. I was hoping there
was an equivalent method available.
I guess I'll just register several notifications.
...Duane
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden