This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Fwd: CYG_ASSERT( sched_lock > 0, "Scheduler lock == 0")
- From: Elad Yosef <elad dot yosef at gmail dot com>
- To: eCos Discussion <ecos-discuss at ecos dot sourceware dot org>, ecos-discuss at sources dot redhat dot com
- Date: Sun, 3 Feb 2013 10:35:46 +0200
- Subject: [ECOS] Fwd: CYG_ASSERT( sched_lock > 0, "Scheduler lock == 0")
- References: <CAOFa9c3dHir5Hp=U+jdXzy4QT1S46oFdCCOMWQ4+LV8iMmDJXA@mail.gmail.com>
---------- Forwarded message ----------
From: Elad Yosef <elad.yosef@gmail.com>
Date: Thu, Jan 31, 2013 at 7:03 PM
Subject: CYG_ASSERT( sched_lock > 0, "Scheduler lock == 0")
To: eCos Discussion <ecos-discuss@ecos.sourceware.org>
My Application get crash with the following ASSERT from smp.hxx
static void set_sched_lock(cyg_uint32 new_lock)
{
CYG_ASSERT( new_lock > 0, "New scheduler lock value == 0");
CYG_ASSERT( sched_lock > 0, "Scheduler lock == 0"); ----- THIS
LINE CRASH
sched_lock = new_lock;
};
Can anyone help and point for possible causes?
Thanks
Elad
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss