[fpc-devel] FreeBSD/kqueue

2006-01-31 Thread Ales Katona
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:

Re: [fpc-devel] FreeBSD/kqueue

2006-01-31 Thread Michael Van Canneyt
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

RE: [fpc-devel] FreeBSD/kqueue

2006-01-31 Thread peter green
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

Re: [fpc-devel] FreeBSD/kqueue

2006-01-31 Thread Ales Katona
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 ___

RE: [fpc-devel] FreeBSD/kqueue

2006-01-31 Thread peter green
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

Re: [fpc-devel] FreeBSD/kqueue

2006-01-31 Thread Ales Katona
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

Re: [fpc-devel] FreeBSD/kqueue

2006-01-31 Thread Marco van de Voort
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

Re: [fpc-devel] FreeBSD/kqueue

2006-01-31 Thread Marco van de Voort
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.