Date: Fri, 7 Mar 2003 09:35:41 -0600 From: Mike Meyer <mwm-dated-1047483342.302d15@mired.org> To: "J. Seth Henry" <jshenry@comcast.net> Cc: questions@freebsd.org Subject: Re: Looking for POSIX programming resources Message-ID: <15976.48205.430587.77543@guru.mired.org> In-Reply-To: <20030306150225.S940-100000@whitetower.gambrl01.md.comcast.net> References: <20030306150225.S940-100000@whitetower.gambrl01.md.comcast.net>
next in thread | previous in thread | raw e-mail | index | archive | help
Almost forgot... In <20030306150225.S940-100000@whitetower.gambrl01.md.comcast.net>, J. Seth Henry <jshenry@comcast.net> typed: > Lastly, how can I get data and commands into and out of my program? I > figure a file interface would be the simplest, and simply check the file > periodically to see if it has changed. Is there an easier way, or is this > an accepted method? That's an accepted method, especially if you're doing other things at regular intervals anyway. Again, FreeBSD provides kqueue, which will let you wait on an event instead of poll the file. <mike -- Mike Meyer <mwm@mired.org> http://www.mired.org/consulting.html Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?15976.48205.430587.77543>