These files add kqueue to the FreeBSD rtl. the new FreeBSD.pas file
will need to be put in rtl/freebsd dir. I think the kqueue.inc files
should be in common BSD dir as 3 out of 4 major bsds (darwin being one)
now support it. demo-kqueue1.pas is a simple process watching example.
Ales
P.S:
On Tue, 31 Jan 2006, Ales Katona wrote:
These files add kqueue to the FreeBSD rtl. the new FreeBSD.pas file will
need to be put in rtl/freebsd dir. I think the kqueue.inc files should be in
common BSD dir as 3 out of 4 major bsds (darwin being one) now support it.
demo-kqueue1.pas is a
if 3 out of the 4 major bsds support it shouldn't it be in a generic bsd
unit?
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Ales Katona
Sent: 31 January 2006 16:05
To: FPC developers' list
Subject: [fpc-devel] FreeBSD/kqueue
These files add
peter green wrote:
if 3 out of the 4 major bsds support it shouldn't it be in a generic bsd
unit?
It should be split into include which belong to BSD and specific OS
units which belong to specific OS dirs which use those includes.
Ales
___
Of Ales Katona
Sent: 31 January 2006 16:45
To: FPC developers' list
Subject: Re: [fpc-devel] FreeBSD/kqueue
peter green wrote:
if 3 out of the 4 major bsds support it shouldn't it be in a generic bsd
unit?
It should be split into include which belong to BSD and specific OS
units which
It will force users into {$ifdefs} anyhow because older versions
(especialy macosX where it's only since 10.3) won't work with it.
Ales
___
fpc-devel maillist - fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel
On Tue, 31 Jan 2006, Ales Katona wrote:
These files add kqueue to the FreeBSD rtl. the new FreeBSD.pas file will
need to be put in rtl/freebsd dir. I think the kqueue.inc files should be
in
common BSD dir as 3 out of 4 major bsds (darwin being one) now support it.
demo-kqueue1.pas
It will force users into {$ifdefs} anyhow because older versions
(especialy macosX where it's only since 10.3) won't work with it.
If you drive this too far, you end up with a unit per function. Moreover,
in time, the BSDs without it will get more rare.