This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

possibly a bug in select.cxx without CYGPKG_POSIX


Hi, 

I have an error when compiling select.cxx. 
In my configuration, CYGPKG_POSIX is not included, so "sigset_t oldmask" is 
not defined (line 160), but it is used line 242 and 303. 

This is the compilation ouptut I have :
ecos/packages/io/fileio/current/src/select.cxx: In function `int 
cyg_pselect(int, fd_set*, fd_set*, fd_set*, timeval*, const sigset_t*)':
ecos/packages/io/fileio/current/src/select.cxx:242: `oldmask' undeclared 
(first use this function)
ecos/packages/io/fileio/current/src/select.cxx:242: (Each undeclared 
identifier is reported only once for each function it appears in.)

Nicolas

Le Thursday 02 December 2004 07:34, asl@sourceware.org a ÃcritÂ:
> CVSROOT:	/cvs/ecos
> Module name:	ecos
> Changes by:	asl@sourceware.org	2004-12-02 12:34:34
>
> Modified files:
> 	packages/io/fileio/current: ChangeLog
> 	packages/io/fileio/current/include: fileio.h
> 	packages/io/fileio/current/src: select.cxx
>
> Log message:
> 	* include/fileio.h: Changed si_thread to si_waitFlag
> 	* src/select.cxx: Improved efficiency: 1. Only threads waiting
> 	on a selector are woken up in selwake. This is done by swapping
> 	the condition variable for an event flag and registering threads
> 	for wakeup in selrecord. 2. No mutex is now required. 3. Search
> 	through the FD mask much streamlined.

--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]