Re: [fpc-pascal] Darwin i386 socket polling

2011-12-23 Thread Helmut Hartl
Am 23.12.11 04:35, schrieb Andrew Brunner: I'm needing to figure out how socket signaling mechanisms work under darwin. Windows and Linux work, Darwin however does not support ePoll. Anyone have any experience with Sockets events under OSX i386? Thanks. BSD's support the kqueue / kevent mech

Re: [fpc-pascal] Forward declarations

2011-12-23 Thread Tomas Hajny
On Fri, December 23, 2011 07:24, Jürgen Hestermann wrote: > Timothy Groves schrieb: >> Can anyone think of a situation in which you would *have* to use >> forward declared functions? I'm trying to come up with an example for >> such for my book, and I am drawing a blank. >> > > Well, maybe this on

Re: [fpc-pascal] Forward declarations

2011-12-23 Thread Jonas Maebe
On 22 Dec 2011, at 22:24, Timothy Groves wrote: On 11-12-22 04:04 PM, Anton Shepelev wrote: But are "mutually recursive procedures and functions" necessary? Not at all. I think they are only unnecessary in the same sense that having procedures/functions as a whole are unnecessary, just li

Re: [fpc-pascal] FPC for ARM

2011-12-23 Thread Dariusz Mazur
Is there an embedded web-server that would run on the ARM machine? I use this one from Synapse (work on openWRT and Android) -- Darek ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-p

Re: [fpc-pascal] Darwin i386 socket polling

2011-12-23 Thread Marco van de Voort
In our previous episode, Andrew Brunner said: > I'm needing to figure out how socket signaling mechanisms work under darwin. > Windows and Linux work, Darwin however does not support ePoll. Windows supports epoll? > Anyone have any experience with Sockets events under OSX i386? Helmut already

[fpc-pascal] Re: Forward declarations

2011-12-23 Thread leledumbo
Back to high school time, I use it for turn based battle system for a game. I have two mutually (tail-)recursive procedures where one is the player movement decision (full with prompts) while the other is the enemy's (some AI calculation takes the decision). The battle could start ambushed (enemy f

Re: [fpc-pascal] Darwin i386 socket polling

2011-12-23 Thread Andrew Brunner
> Windows supports epoll? No, windows doesn't offer polling socket mechanisms. They send messages to windows with the socket number - it's event driven. Kernel polling is different, but I assumed that Darwin would support it via e-Poll. I searched and found a few references to kQueue/kEvent. Th

Re: [fpc-pascal] fpGUI Toolkit v0.8 release for FPC 2.4.4 & 2.6.0-rc

2011-12-23 Thread Paul Breneman
I have posted a 3.9 MB zip file that has a minimal distribution of the FPC 2.4.4 compiler as well as the new fpGUI v0.8 source code on this page: http://www.turbocontrol.com/easyfpgui.htm I've also included (Synapse) SynaSer source and a serial debug terminal program I've been working on. Al

Re: [fpc-pascal] Darwin i386 socket polling

2011-12-23 Thread Henry Vermaak
On 23 December 2011 15:27, Andrew Brunner wrote: >> Windows supports epoll? > > No, windows doesn't offer polling socket mechanisms.  They send > messages to windows with the socket number - it's event driven. > Kernel polling is different, but I assumed that Darwin would support > it via e-Poll.