Made stacksize configurable via external definition

This commit is contained in:
adamdunkels 2006-09-01 22:56:02 +00:00
parent b7a0184eac
commit fbcb4a97c2
1 changed files with 11 additions and 9 deletions

View File

@ -31,7 +31,9 @@
#ifndef __MTARCH_H__
#define __MTARCH_H__
#ifndef MTARCH_STACKSIZE
#define MTARCH_STACKSIZE 1024
#endif /* MTARCH_STACKSIZE */
struct mtarch_thread {
/* Note: stack must be aligned on 4-byte boundary. */