[EMAIL PROTECTED] (Albert D. Cahalan) wrote: > In spite of that, it should be considered. It allows this: > > $ ls -log /proc/self/fd > total 0 > lrwx------ 1 acahalan 64 Sep 21 09:12 0 -> /dev/pts/4 > lrwx------ 1 acahalan 64 Sep 21 09:12 1 -> /dev/pts/4 > lrwx------ 1 acahalan 64 Sep 21 09:12 2 -> /dev/pts/4 > lrwx------ 1 acahalan 64 Sep 21 09:12 3 -> mutex:[720429] > lrwx------ 1 acahalan 64 Sep 21 09:12 4 -> event:[592] > lr-x------ 1 acahalan 64 Sep 21 09:12 5 -> /proc/14527/fd There's another minor problem with using fd's as handles... Windows expects the handle number to be a multiple of 4, and sometimes, probably only on rare occasions, uses the bottom two bits to pass extra information. I was flicking through the Native API reference last night, and came across a couple of instances. I don't know whether this ever applies to Win32, though. David Howells - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/
- Re: [RFC] Wine speedup through kernel module Bernd Eckenfels
- Re: [RFC] Wine speedup through kernel module David Howells
- Re: [RFC] Wine speedup through kernel module David Howells
- Re: [RFC] Wine speedup through kernel module Daniel Pittman
- Re: [RFC] Wine speedup through kernel module David Howells
- Re: [RFC] Wine speedup through kernel modul... Albert D. Cahalan
- Re: [RFC] Wine speedup through kernel m... David Howells
- Re: [RFC] Wine speedup through kernel module David Howells
- Re: [RFC] Wine speedup through kernel module Albert D. Cahalan
- Re: [RFC] Wine speedup through kernel module David Howells
- Re: [RFC] Wine speedup through kernel module David Howells
- Re: [RFC] Wine speedup through kernel modul... Albert D. Cahalan
- Re: [RFC] Wine speedup through kernel m... David Howells
- Re: [RFC] Wine speedup through ker... Albert D. Cahalan
- Re: [RFC] Wine speedup through... Alexander Viro
- Re: [RFC] Wine speedup through... Albert D. Cahalan
- Re: [RFC] Wine speedup through... Alexander Viro
- Re: [RFC] Wine speedup through... David Howells
- Re: [RFC] Wine speedup through... David Howells
- Re: [RFC] Wine speedup through kernel module David Howells