This is the mail archive of the
ecos-patches@sources.redhat.com
mailing list for the eCos project.
Re: init_priority fix for services/memalloc
> So if you submit a patch from the grep sweep i will look at it. I will
> reject your memalloc patch since this will be part of your bigger
> patch.
If my assumptions in the previous mail are correct, then we have a grand
total of 2 cases that need fixing. Attached is the second one.
>
> Andrew
--
Øyvind Harboe
http://www.zylin.com
Index: select.cxx
===================================================================
RCS file: /cvs/ecos/ecos/packages/io/fileio/current/src/select.cxx,v
retrieving revision 1.12
diff -u -w -r1.12 select.cxx
--- select.cxx 2 Aug 2004 11:24:48 -0000 1.12
+++ select.cxx 29 Sep 2004 12:15:33 -0000
@@ -97,7 +97,7 @@
// operation. Whenever any selectable event occurs, all selecting threads
// will be resumed. They must then rescan their selectees and resuspend if
// necessary.
-static Cyg_Condition_Variable selwait( select_mutex ) CYGBLD_ATTRIB_INIT_PRI(CYG_INIT_IO_FS);
+static Cyg_Condition_Variable CYGBLD_ATTRIB_INIT_PRI(CYG_INIT_IO_FS) selwait( select_mutex ) ;
static volatile cyg_uint32 selwake_count = 0;