EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  <20092010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  <20092010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: RE: Problem with cothread-1-12 on MacOSX (Leopard)
From: Michael Abbott <[email protected]>
To: Juan Carlos Guzman <[email protected]>
Cc: EPICS Tech Talk <[email protected]>
Date: Tue, 10 Mar 2009 09:11:33 +0000 (GMT)
On Tue, 10 Mar 2009, Abbott, MG (Michael) wrote:
> From: Juan Carlos Guzman [mailto:[email protected]] 
> >  >>> from cothread.catools import *
> >  >>> debug: 00000020
> Oh dear, oh dear.  This is telling me that there is no stdin.

A bit more research brings up this link:
	http://curl.haxx.se/mail/lib-2007-02/0098.html
in which we learn:

	stdin, ... is a device and therefore doesn't work with darwin's
	poll. In this case poll just spews POLLNVAL 

Sounds like our case.

WTF?  Ok, so poll() on Darwin is busted.

Looks like I'll have to code up an emulation of poll() using select() and 
provide some mechanism for the poor installer to install 
poll_with_select() even when poll() is available.

I'll get back to you on this...!

Replies:
RE: Problem with cothread-1-12 on MacOSX (Leopard) Michael Abbott
References:
RE: Problem with cothread-1-12 on MacOSX (Leopard) Abbott, MG (Michael)

Navigate by Date:
Prev: RE: Problem with cothread-1-12 on MacOSX (Leopard) Abbott, MG (Michael)
Next: RE: Problem with cothread-1-12 on MacOSX (Leopard) Michael Abbott
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  <20092010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: RE: Problem with cothread-1-12 on MacOSX (Leopard) Abbott, MG (Michael)
Next: RE: Problem with cothread-1-12 on MacOSX (Leopard) Michael Abbott
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  <20092010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 31 Jan 2014 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·