This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
ASSERT FAIL
- To: "'eCos discussion'" <ecos-discuss at sources dot redhat dot com>
- Subject: [ECOS] ASSERT FAIL
- From: "Trenton D. Adams" <tadams at extremeeng dot com>
- Date: Wed, 27 Jun 2001 11:10:45 -0600
- Organization: Extreme Engineering
I get the following error and then my program hangs. What does the <1>
mean, and what does the [170] mean? I didn't see information on these
numbers in the documentation. Also, my threads work just fine without
tracing and assertions enabled.
ASSERT FAIL: <1>[170]void cyg_thread_create() Bad handle pointer
cyg_thread_entry_t WatchSlot;
cyg_thread_entry_t Start;
void cyg_user_start(void)
{
cyg_mutex_init(&cliblock);
cyg_thread_create(4, WatchSlot, (cyg_addrword_t) 0,
"Slot Watch", (void *) stack[0], 4096,
&slotWatch, &thread_s[0]);
cyg_thread_create(4, Start, (cyg_addrword_t) 0,
"Start", (void *) stack[1], 4096,
&start, &thread_s[1]);
printf ("Starting Threads!\n");
cyg_thread_resume(start);
cyg_thread_resume(slotWatch);
}