Re: Computer not shutting down
Re: Computer not shutting down
- Subject: Re: Computer not shutting down
- From: "mm w" <email@hidden>
- Date: Thu, 24 Jul 2008 11:25:28 -0700
Yes sure, you solved temporary the problem, but you asked for advices
regarding a good or a bad use of kernel API,
you also complained about the lack of documentation, this was not fair,
you could met the same problem in FB kernel and if you ask the same
thing on FB mailing
list you 'll get the same answers and maybe less political
there's a implicit rule:
as far as possible (it depends nke, fs)
- do not use a method enclosed in a PRIVATE defined
- you have to "considare" the rest of kernel APIs as protected // no
need advertising
- in MacOS IOKit is the public IO interface, kpis are also a public
interface to the "bsd-like" API
one of mistake of the previous kteam has been to expose mach
primitives without warnings,
and Terry try to correct this in 90% of his answers
IMHO so what I try to express is: you asked for an advice despite your
solved problem,
"maybe" there is a alternative safer way to get your result, and
"maybe" a better design,
we can only express some theories, because you are not very "locace"
about your entire app/model
Cheers!
On Thu, Jul 24, 2008 at 10:42 AM, Greg <email@hidden> wrote:
>
> On Jul 24, 2008, at 1:32 PM, mm w wrote:
>
>> Hi Greg, maybe if you could describe a bit your mechanism,
>> you could have a right answer and some leads
>> for a example why do you need the "type" of a VNODE,
>> - do you receive a userspace file event?
>
>
> Well, the kext sends out file events, but I'm confused, I already solved my
> problem (in the reply to myself), did you not see that? I simply needed a
> vnode_put call after a vnode_lookup.
>
> - Greg
>
--
-mmw
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden