This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
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>
- Date: Thu, 31 Jan 2013 19:03:00 +0200
- Subject: [ECOS] CYG_ASSERT( sched_lock > 0, "Scheduler lock == 0")
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