public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] CYG_ASSERT( sched_lock > 0, "Scheduler lock == 0")
@ 2013-01-31 17:03 Elad Yosef
  2013-02-03  8:35 ` [ECOS] Fwd: " Elad Yosef
  0 siblings, 1 reply; 2+ messages in thread
From: Elad Yosef @ 2013-01-31 17:03 UTC (permalink / raw)
  To: eCos Discussion

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [ECOS] Fwd: CYG_ASSERT( sched_lock > 0, "Scheduler lock == 0")
  2013-01-31 17:03 [ECOS] CYG_ASSERT( sched_lock > 0, "Scheduler lock == 0") Elad Yosef
@ 2013-02-03  8:35 ` Elad Yosef
  0 siblings, 0 replies; 2+ messages in thread
From: Elad Yosef @ 2013-02-03  8:35 UTC (permalink / raw)
  To: eCos Discussion, ecos-discuss

---------- 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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-02-03  8:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-01-31 17:03 [ECOS] CYG_ASSERT( sched_lock > 0, "Scheduler lock == 0") Elad Yosef
2013-02-03  8:35 ` [ECOS] Fwd: " Elad Yosef

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).