NtQuerySystemInformation and exposing unix_pid

Alexandre Julliard julliard at winehq.org
Wed Aug 3 12:13:08 CDT 2011


Paul Vriens <paul.vriens.wine at gmail.com> writes:

> Hi,
>
> I would like to add some per-process information in
> NtQuerySystemInformation with respect to cpu-usage.
>
> The wine server doesn't currently expose the unix_pid so I can't use
> /proc/<pid>/* information.
>
> Would it be ok to expose the unix_pid in some of the server calls
> (like next_process)?
>
> Or should all this information (and the /proc handling) go into the server?

In general that sort of thing would go in the server, though it depends
on the complexity.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list