[ECOS] Fwd: CYG_ASSERT( sched_lock > 0, "Scheduler lock == 0")
Elad Yosef
elad.yosef@gmail.com
Sun Feb 3 08:35:00 GMT 2013
---------- 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
More information about the Ecos-discuss
mailing list