This is the mail archive of the
ecos-bugs@sourceware.org
mailing list for the eCos project.
[Bug 1000400] ASSERT enabled build fails at startup
- From: bugzilla-daemon at ecoscentric dot com
- To: ecos-bugs at sources dot redhat dot com
- Date: Mon, 21 May 2007 08:20:55 +0100 (BST)
- Subject: [Bug 1000400] ASSERT enabled build fails at startup
https://bugzilla.ecoscentric.com/show_bug.cgi?id=1000400
------- Additional Comments From beriksson@nordic.imaje.com 2007-05-21 08:20 -------
Created an attachment (id=378)
--> (https://bugzilla.ecoscentric.com/attachment.cgi?id=378&action=view)
Cyg_Mutex::check_this patch
Index: mutex.cxx
===================================================================
RCS file: /cvs/ecos/ecos/packages/kernel/current/src/sync/mutex.cxx,v
retrieving revision 1.14
diff -b -u -p -r1.14 mutex.cxx
--- mutex.cxx 23 May 2002 23:06:56 -0000 1.14
+++ mutex.cxx 21 May 2007 07:11:51 -0000
@@ -188,6 +188,9 @@ Cyg_Mutex::check_this( cyg_assert_class_
// check that we have a non-NULL pointer first
if( this == NULL ) return false;
+ // no owner check if threading hasn't started
+ if ( 0 == Cyg_Thread::self() ) return true;
+
switch( zeal )
{
case cyg_system_test:
--
Configure bugmail: https://bugzilla.ecoscentric.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.