git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@591 35acf78f-673a-0410-8e92-d51de3d6d3f4

master
gdisirio 2009-01-06 11:39:36 +00:00
parent 56221d3e7f
commit d121a4942a
2 changed files with 4 additions and 1 deletions

View File

@ -50,6 +50,9 @@ struct Thread {
tmode_t p_flags;
/** Machine dependent processor context.*/
Context p_ctx;
#ifdef CH_USE_NESTED_LOCKS
cnt_t p_locks;
#endif
/*
* The following fields are merged in unions because they are all
* state-specific fields. This trick saves some extra space for each

View File

@ -62,7 +62,7 @@ typedef struct {
} Context;
/**
* Platform dependent part of the @p chThdCreate() API.
* Platform dependent part of the @p chThdInit() API.
* This code usually setup the context switching frame represented by a
* @p intctx structure.
*/