Ejemplo n.º 1
0
void sys_mbox_free(sys_mbox_t *mbox)
{
    RT_DEBUG_NOT_IN_INTERRUPT;

    rt_mb_delete(*mbox);

    return;
}
Ejemplo n.º 2
0
void sys_mbox_free(sys_mbox_t mbox)
{
#if SYS_DEBUG
	{
		struct rt_thread *thread;
		thread = rt_thread_self();
	
		LWIP_DEBUGF(SYS_DEBUG, ("%s, Delete mbox: %s\n",thread->name,
			mbox->parent.parent.name));
	}
#endif

	rt_mb_delete(mbox);

	return;
}