Commented out unused functionality: the ability to create a process running a thread was never used. With the new code, only running 'bare' threads is supported. If support for creating processes with a thread is needed, it may be reneabled later but currently there doesn't seem to be a need for it

This commit is contained in:
adamdunkels 2006-09-26 20:59:51 +00:00
parent 6bd28132ed
commit 1504f2836e
2 changed files with 12 additions and 6 deletions

View file

@ -30,7 +30,7 @@
*
* Author: Adam Dunkels <adam@sics.se>
*
* $Id: mt.h,v 1.2 2006/09/01 22:56:47 adamdunkels Exp $
* $Id: mt.h,v 1.3 2006/09/26 20:59:51 adamdunkels Exp $
*/
/** \addtogroup sys
@ -235,8 +235,8 @@ void mt_exec(struct mt_thread *thread);
* containing additonal information, or NULL if no additional
* information is needed.
*/
void mt_exec_event(struct mt_thread *thread, process_event_t s,
process_data_t data);
/*void mt_exec_event(struct mt_thread *thread, process_event_t s,
process_data_t data);*/
/**
* Voluntarily give up the processor.
@ -263,7 +263,7 @@ void mt_yield(void);
* with the signal.
*
*/
void mt_post(struct process *p, process_event_t ev, process_data_t data);
/*void mt_post(struct process *p, process_event_t ev, process_data_t data);*/
/**
* Block and wait for an event to occur.
@ -281,7 +281,7 @@ void mt_post(struct process *p, process_event_t ev, process_data_t data);
* the thread.
*
*/
void mt_wait(process_event_t *ev, process_data_t *data);
/*void mt_wait(process_event_t *ev, process_data_t *data);*/
/**
* Exit a thread.